I'm attempting to compile freeradius-1.0.0-pre1, and I'm having
problems building rlm_eap_ttls.  I've narrowed it down to the linking
stage, and libtool translating "./../rlm_eap_tls/rlm_eap_tls.la" into
"-lrlm_eap_tls" when it is passed to gcc.  The linker can't find this
lib, and croaks.  If I simply delete the rlm_eap_tls.la part from the
libtool command, the command finishes without errors, but I suspect
that when I actually try to run any ttls stuff, it'll probably die
with a load error.

I'm doing this on a RedHat 8.0 box, underneath an rpmbuild command, if
that matters.  I don't think it does, cause the rpm gets built
successfully, but it's missing the rlm_eap_ttls libraries.

Thanks for any help you can offer.

matt
----------
Here's the interesting output from my make process:

Making install in rlm_eap_ttls...
gmake[11]: Entering directory
`/usr/src/redhat/BUILD/freeradius-1.0.0/src/modules/rlm_eap/types/rlm_eap_ttls'
if [ "xrlm_eap_ttls" != "x" ]; then \
    /usr/bin/libtool --mode=install
/usr/src/redhat/BUILD/freeradius-1.0.0/install-sh -c -c \
        rlm_eap_ttls.la /var/tmp/freeradius-root/usr/lib/rlm_eap_ttls.la; \
    rm -f /var/tmp/freeradius-root/usr/lib/rlm_eap_ttls-1.0.0-pre1.la; \
    ln -s rlm_eap_ttls.la
/var/tmp/freeradius-root/usr/lib/rlm_eap_ttls-1.0.0-pre1.la; \
fi
libtool: install: warning: relinking `rlm_eap_ttls.la'
(cd /usr/src/redhat/BUILD/freeradius-1.0.0/src/modules/rlm_eap/types/rlm_eap_ttls;
/bin/sh /usr/bin/libtool --mode=relink gcc -release 1.0.0-pre1 -module
-export-dynamic -O2 -march=i386 -mcpu=i686 -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 -Wall -D_GNU_SOURCE -g
-Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -W -Wredundant-decls -Wundef -I../../../../include
-I./../.. -I./../../libeap -I../rlm_eap_tls -DOPENSSL_NO_KRB5 -o
rlm_eap_ttls.la -rpath /usr/lib rlm_eap_ttls.lo ttls.lo
-L./../../libeap -leap ./../rlm_eap_tls/rlm_eap_tls.la -lcrypto -lssl
-lnsl -lresolv -lpthread -inst-prefix-dir /var/tmp/freeradius-root)
gcc -shared  rlm_eap_ttls.lo ttls.lo 
-L/usr/src/redhat/BUILD/freeradius-1.0.0/src/modules/rlm_eap/libeap
-L/usr/lib -L/var/tmp/freeradius-root/usr/lib -leap -lrlm_eap_tls
-lcrypto -lssl -lnsl -lresolv -lpthread    -Wl,-soname
-Wl,rlm_eap_ttls-1.0.0-pre1.so -o .libs/rlm_eap_ttls-1.0.0-pre1.so
/usr/bin/ld: cannot find -lrlm_eap_tls
collect2: ld returned 1 exit status
libtool: install: error: relink `rlm_eap_ttls.la' with the above
command before installing it
gmake[11]: Leaving directory
`/usr/src/redhat/BUILD/freeradius-1.0.0/src/modules/rlm_eap/types/rlm_eap_ttls'

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to