Re: Undefined symbol with eaptls / freeradius 1.0.3 (debian)
Antonio-Blasco Bonito <[EMAIL PROTECTED]> 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). Debian has nice magic that breaks FreeRADIUS. The solution is to build a statically linked version of the server. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Undefined symbol with eaptls / freeradius 1.0.3 (debian)
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. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Undefined symbol with eaptls / freeradius 1.0.3 (debian)
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: *** 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? On Tue, Dec 07, 2004 at 03:16:47PM +0100, Julien CABESSUT wrote: > I'm trying to set up a freeradius server on a debian box to authenticate > wireless users. The current debian (sid) package for 1.0.1 doesn't > include eap_tls, eap_ttls, nor eap_peap due to licensing issues - yet I > needed them. So I downloaded the source package, removed the three lines > in debian/rules which were preventing the compilation of those modules, > built a brand new package, and installed it. Now I have an error which > makes the server crash when someone tries to authenticate : > freeradius: relocation error: /usr/lib/freeradius/rlm_eap_peap-1.0.1.so: > undefined symbol: eaptls_process > Any suggestion on what could cause this problem ? Yes. The libltdl in Debian includes a patch from the CVS version of libtool, which breaks the linkage used by rlm_eap_ttls and rlm_eap_peap into rlm_eap_tls. Try 1.1.0, which should work with the libltdl in Debian/sarge or Debian/sid. -- Paul "TBBle" Hampson, on an alternate email client. -- Antonio-Blasco Bonito Phone: +39 050 315-2958 E-mail: [EMAIL PROTECTED] Istituto di Scienza e Tecnologie dell'Informazione "A. Faedo" CNR Area della Ricerca di Pisa Via G. Moruzzi 1 56124 Pisa Italy - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Undefined symbol with eaptls / freeradius 1.0.3 (debian)
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: *** 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? On Tue, Dec 07, 2004 at 03:16:47PM +0100, Julien CABESSUT wrote: > I'm trying to set up a freeradius server on a debian box to authenticate > wireless users. The current debian (sid) package for 1.0.1 doesn't > include eap_tls, eap_ttls, nor eap_peap due to licensing issues - yet I > needed them. So I downloaded the source package, removed the three lines > in debian/rules which were preventing the compilation of those modules, > built a brand new package, and installed it. Now I have an error which > makes the server crash when someone tries to authenticate : > freeradius: relocation error: /usr/lib/freeradius/rlm_eap_peap-1.0.1.so: > undefined symbol: eaptls_process > Any suggestion on what could cause this problem ? Yes. The libltdl in Debian includes a patch from the CVS version of libtool, which breaks the linkage used by rlm_eap_ttls and rlm_eap_peap into rlm_eap_tls. Try 1.1.0, which should work with the libltdl in Debian/sarge or Debian/sid. -- Paul "TBBle" Hampson, on an alternate email client. -- Antonio-Blasco Bonito Phone: +39 050 315-2958 E-mail: [EMAIL PROTECTED] Istituto di Scienza e Tecnologie dell'Informazione "A. Faedo" CNR Area della Ricerca di Pisa Via G. Moruzzi 1 56124 Pisa Italy - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html