Frank Cusack wrote: >On Wed, Jul 10, 2002 at 10:23:34AM +0200, Wim wrote: > >>Hello, >> >>I'm trying to compile freeradius 0.6 with pam support. >>I looked in /doc for the options and I couldn't find anything that could >>help me... >>I guess i have to run: >> >>./configure --with-static-modules="pam" >> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ > >>some of the output is: >> >>configure: warning: silently not building rlm_pam. >>configure: warning: FAILURE: rlm_pam requires: libpam. >>creating ./config.status >> >>I checked, and I found libpam in /lib: >> >>/lib/libpamc.so.0 >>/lib/libpam.so.0.75 >>/lib/libpam_misc.so.0.75 >>/lib/libpamc.so.0.75 >>/lib/libpam_misc.so.0 >>/lib/libpam.so.0 >> > ^^^^^^^^^^^^^^^^ > >That's a shared lib. Above you said --with-static-modules. >Static modules cannot link against shared libs. >(libtool might make this possible, but this case involves the runtime >linker) > >There is no such thing as libpam.a. > I ran configure withou options, the warnings that says configure: warning: silently not building rlm_pam is still there... but the make and make install commands are successfull! > >So the configure script correctly found this problem, but ... > >>I proceed with make, the output I get is: >> >> >> >>/home/lora/freeradius-0.6/libtool --mode=link gcc -export-dynamic >>-dlopen self \ >> -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall >>-D_GNU_SOURCE -DNDEBUG -I../include -L../lib -o radiusd \ >> radiusd.o files.o util.o acct.o nas.o log.o valuepair.o >>version.o proxy.o exec.o auth.o timestr.o conffile.o modules.o modcall.o >>session.o xlat.o threads.o smux.o radius_snmp.o client.o request_list.o >>-lnsl -lresolv -lpthread -lpthread -lradius -lcrypt \ >> -lltdl -dlpreopen ../modules/rlm_pam/rlm_pam.la >>libtool: link: cannot find the library `../modules/rlm_pam/rlm_pam.la' >>gmake[4]: *** [radiusd] Error 1 >>gmake[4]: Leaving directory `/home/lora/freeradius-0.6/src/main' >>gmake[3]: *** [common] Error 1 >>gmake[3]: Leaving directory `/home/lora/freeradius-0.6/src' >>gmake[2]: *** [all] Error 2 >>gmake[2]: Leaving directory `/home/lora/freeradius-0.6/src' >>gmake[1]: *** [common] Error 1 >>gmake[1]: Leaving directory `/home/lora/freeradius-0.6' >>make: *** [all] Error 2 >> > >That looks like a bug in configure. > >/fc >- >List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html > > - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
