adding eap-tls/peap/ttls support to freeradius problem

Tomas Pelka tompelka at gmail.com
Tue Nov 17 22:48:57 CET 2009


Hi guys,
have some problems with compiling freeradius with eap-tls/peap/ttls support.

configure running:
./configure --prefix=/usr \
            --exec-prefix=/usr \
            --mandir=$(mandir) \
            --sysconfdir=/etc \
            --libdir=$(libdir) \
            --datadir=/usr/share \
            --localstatedir=/var \
            --with-raddbdir=$(raddbdir) \
            --with-logdir=/var/log/$(package) \
            --enable-ltdl-install=no --enable-strict-dependencies \
            --with-large-files --with-udpfromto --with-edir \
            --enable-developer \
            --config-cache \
            --with-rlm_eap_tls \
            --with-rlm_eap_ttls \
            --with-rlm_eap_peap \
            --without-rlm_eap_tnc \
            --without-rlm_otp \
            --with-rlm_sql_postgresql_lib_dir=`pg_config --libdir` \
            --with-rlm_sql_postgresql_include_dir=`pg_config --includedir` \
            --with-openssl \
            --without-rlm_eap_ikev2 \
            --without-rlm_sql_oracle \
            --without-rlm_sql_unixodbc \
            --with-system-libtool \
            --without-rlm_counter \
            --without-rlm_ldap


Gcc output:
/usr/bin/libtool --mode=link gcc -release 2.0.4 \
	-module -export-dynamic   -o rlm_sql_log.la     \
	-rpath /usr/lib/freeradius rlm_sql_log.lo rlm_sql_log.c
/usr/src/freeradius-2.0.4+dfsg/src/lib/libfreeradius-radius.la
/usr/src/freeradius-2.0.4+dfsg/src/modules/rlm_sql/.libs/rlm_sql.la
-lnsl -lresolv  -lpthread
libtool: link: cannot find the library
`/usr/src/freeradius-2.0.4+dfsg/src/modules/rlm_sql/.libs/rlm_sql.la' or
unhandled argument
`/usr/src/freeradius-2.0.4+dfsg/src/modules/rlm_sql/.libs/rlm_sql.la'
make[7]: *** [rlm_sql_log.la] Error 1
make[7]: Leaving directory
`/usr/src/freeradius-2.0.4+dfsg/src/modules/rlm_sql_log'
make[6]: *** [common] Error 2
make[6]: Leaving directory `/usr/src/freeradius-2.0.4+dfsg/src/modules'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/usr/src/freeradius-2.0.4+dfsg/src/modules'
make[4]: *** [common] Error 2
make[4]: Leaving directory `/usr/src/freeradius-2.0.4+dfsg/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/freeradius-2.0.4+dfsg/src'
make[2]: *** [common] Error 2
make[2]: Leaving directory `/usr/src/freeradius-2.0.4+dfsg'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/freeradius-2.0.4+dfsg'
make: *** [build-arch-stamp] Error 2

Am I missing something?
Thanks for advice.

-- 
Tom



More information about the Freeradius-Users mailing list