Hello, Previously I created a new module for accounting. I'm now trying to iron out the production build process. Starting from a fresh untarred src (2.2.0) distro, what files do I need to drop into src/modules/rlm_mymodname? I placed config.h.in, configure, configure.in, Makefile.in, and rlm_billmax.c, then did <rootdir>./configure; gmake but the new module was ignored (not built out). What am I missing? Bill
Bill Schoolfield wrote:
I placed config.h.in, configure, configure.in, Makefile.in, and rlm_billmax.c, then did <rootdir>./configure; gmake but the new module was ignored (not built out).
What am I missing?
$ ./configure --with-experimental-modules Or, edit Make.inc. Look at the bottom. It has a list of modules to build. Add yours, and that's it. No need to re-configure. Alan DeKok.
Thanks Alan, I think I looked ever where but there.... New problem. I just built the server on a 64 bit centos box. I used: ./configure --prefix=/usr --sysconfdir=/etc and it looks like all the libraries got placed in /usr/lib instead of /usr/lib64 Running /sbin/radiusd results in missing libs. running ldd: ldd /usr/sbin/radiusd linux-vdso.so.1 => (0x00007fffd99ff000) libfreeradius-radius-2.2.0.so => not found libnsl.so.1 => /lib64/libnsl.so.1 (0x00007fbf6d309000) libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fbf6d0ef000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fbf6ced2000) libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007fbf6cc9a000) libltdl.so.3 => not found libssl.so.10 => /usr/lib64/libssl.so.10 (0x00007fbf6ca3d000) libcrypto.so.10 => /usr/lib64/libcrypto.so.10 (0x00007fbf6c6a2000) libdl.so.2 => /lib64/libdl.so.2 (0x00007fbf6c49e000) libc.so.6 => /lib64/libc.so.6 (0x00007fbf6c10b000) /lib64/ld-linux-x86-64.so.2 (0x00007fbf6d52a000) libfreebl3.so => /lib64/libfreebl3.so (0x00007fbf6bea8000) libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007fbf6bc64000) libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007fbf6b97e000) libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007fbf6b779000) libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007fbf6b54d000) libz.so.1 => /lib64/libz.so.1 (0x00007fbf6b337000) libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007fbf6b12b000) libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007fbf6af28000) libselinux.so.1 => /lib64/libselinux.so.1 (0x00007fbf6ad08000) Thoughts? Bill On 9/6/2013 3:09 PM, Alan DeKok wrote:
Bill Schoolfield wrote:
I placed config.h.in, configure, configure.in, Makefile.in, and rlm_billmax.c, then did <rootdir>./configure; gmake but the new module was ignored (not built out).
What am I missing?
$ ./configure --with-experimental-modules
Or, edit Make.inc. Look at the bottom. It has a list of modules to build. Add yours, and that's it. No need to re-configure.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
Bill Schoolfield wrote:
Thanks Alan, I think I looked ever where but there....
New problem. I just built the server on a 64 bit centos box. I used:
./configure --prefix=/usr --sysconfdir=/etc
and it looks like all the libraries got placed in /usr/lib instead of /usr/lib64
Well... that's where you told it to put the libraries. There's no magic rule to say use "lib64" instead of "lib" on 64-bit systems. Fix the configure arguments to put libdir somewhere else. Alan DeKok.
participants (2)
-
Alan DeKok -
Bill Schoolfield