Undefined symbol with eaptls / freeradius 1.0.3 (debian)

Paul Hampson Paul.Hampson at PObox.com
Thu Jun 16 17:17:04 CEST 2005


On Thu, Jun 16, 2005 at 02:57:37PM +0200, Antonio-Blasco Bonito wrote:
> I compiled and installed freeradius-1.0.3 on debian sarge. It runs.
> But when using rlm_eap_ttls-1.0.3.so I'm having the same problem
> described six months ago by Julien (see below).

> Then I tried the latest freeradius-snapshot-20050615 but I get errors in
> the install phase:

I think the rlm_eap stuff in CVS HEAD (where the snapshot comes from) is
in flux. Try adding --with-static-modues=rlm_eap_tls to the configure
line in debian/rules, and see if that helps. If not, try --enable-static
--disable-dynamic instead.

> *** Warning: Linking the shared library rlm_eap_peap.la against the
> loadable module
> *** rlm_eap_tls.so is not portable!
> 
> *** Warning: Linking the shared library rlm_eap_peap.la against the
> loadable module
> *** libeap.so is not portable!
> gcc -shared  .libs/rlm_eap_peap.o .libs/peap.o  -Wl,--rpath
> -Wl,/usr/local/lib -L/usr/local/lib -lradius -lrlm_eap_tls
> -L/usr/local/src/freeradius-snapshot-20050615/src/modules/rlm_eap/libeap
> -leap -lssl -lnsl -lresolv -lpthread -lcrypto  -Wl,-soname
> -Wl,rlm_eap_peap-1.1.0-pre0.so -o .libs/rlm_eap_peap-1.1.0-pre0.so
> /usr/bin/ld: cannot find -lrlm_eap_tls
> collect2: ld returned 1 exit status
> libtool: install: error: relink `rlm_eap_peap.la' with the above command
> before installing it
> make[11]: *** [install] Error 1

> Cna somebody give me any hints how to get out of this problem?

You'll have to provide more output, you've trimmed the interesting
stuff, I think. (The rlm_eap_tls build output, for a start)

There was a patch on the list more recently than that which might
help. Or maybe it was in the FreeRADIUS bug tracker?

-- 
Paul "TBBle" Hampson, on an alternate email client.



More information about the Freeradius-Users mailing list