RE: freeradius 2.0.5 linking error with rlm_perl on solaris10
In src/main/Makefile, added the dynaloader library to the MODULE_LIBS: MODULE_LIBS = $(STATIC_MODULES) /usr/local/perl-5.8.3/lib/5.8.3/sun4-solaris/auto/DynaLoader/DynaLoader.a This fixed the make error. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
freeradius 2.0.5 linking error with rlm_perl on solaris10
Hi, Im trying to install freeradius 2.0.5 on solaris10 (sparc) and Im only interested in rlm_perl module. My configure script is ./configure --prefix=/usr/local/radius --with-static-modules=perl --disable-shared --without-rlm_sql --without-rlm_eap --without-rlm_ldap --without-rlm_krb5 --without-rlm_python --without-rlm_counter --without-rlm_ippool --without-rlm_otp --without-rlm_acctlog --without-rlm_caching --without-rlm_chap --without-rlm_dbm --without-rlm_detail --without-rlm_digest --without-rlm_mschap --without-rlm_unix --without-rlm_smb --without-rlm_realm --without-rlm_radutmp --without-rlm_preprocess --without-rlm_passwd --without-rlm_pap --without-rlm_pam --without-rlm_opendirectory --without-rlm_logintime --without-rlm_linelog --without-rlm_jradius --without-rlm_files --without-rlm_fastusers --without-rlm_detail --without-rlm_cram --without-rlm_copy_packet --without-rlm_checkval --without-rlm_attr_filter --without-rlm_attr_rewrite --without-rlm_always --without-rlm_sqlippool ./gmake is throwing out errors as follows: [...] gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/var/tmp/freeradius-server-2 2.0.5/src -I/var/tmp/freeradius-server-2.0.5/libltdl -I/usr/local/include -I/opt/local/include -D_LARGEFILE_SOURCE -D D_FILE_OFFSET_BITS=64 -I/usr/local/perl-5.8.3/lib/5.8.3/sun4-solaris/CORE -c rlm_perl.c -o rlm_perl.o /dev/null 21 /var/tmp/freeradius-server-2.0.5/libtool --mode=link gcc -release 2.0.5 \ -module -static -o rlm_perl.la \ -rpath /usr/local/radius/lib rlm_perl.lo rlm_perl.c /var/tmp/freeradius-server-2.0.5/src/lib/libfreeradius-radius.la `perl -MExtUtils::Embed -e ldopts` -lnsl -lresolv -lsocket -lposix4 -lpthread *** Warning: Linking the shared library rlm_perl.la against the *** static library /usr/local/perl-5.8.3/lib/5.8.3/sun4-solaris/auto/DynaLoader/DynaLoader.a is not portable! [...] /usr/local/gnu/bin/nm: DynaLoader.a: File format not recognized /usr/local/gnu/bin/nm: DynaLoader.a: File format not recognized /usr/local/gnu/bin/nm: DynaLoader.a: File format not recognized /usr/local/gnu/bin/nm: DynaLoader.a: File format not recognized ../modules/rlm_perl/.libs/rlm_perl.a(rlm_perl.o): In function `xs_init': rlm_perl.o(.text+0x110): undefined reference to `boot_DynaLoader' rlm_perl.o(.text+0x114): undefined reference to `boot_DynaLoader' collect2: ld returned 1 exit status gmake[4]: *** [radiusd] Error 1 gmake[3]: *** [common] Error 2 gmake[2]: *** [all] Error 2 gmake[1]: *** [common] Error 2 gmake: *** [all] Error 2 Please help me out here. thanks Abhishek - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: freeradius 2.0.5 linking error with rlm_perl on solaris10
Am 02.07.2008 um 14:05 schrieb Ubale, Abhishek Amarnath: Hi, Im trying to install freeradius 2.0.5 on solaris10 (sparc) and Im only interested in rlm_perl module. My configure script is ./configure --prefix=/usr/local/radius --with-static-modules=perl -- disable-shared --without-rlm_sql --without-rlm_eap --without- rlm_ldap --without-rlm_krb5 --without-rlm_python --without- rlm_counter --without-rlm_ippool --without-rlm_otp --without- rlm_acctlog --without-rlm_caching --without-rlm_chap --without- rlm_dbm --without-rlm_detail --without-rlm_digest --without- rlm_mschap --without-rlm_unix --without-rlm_smb --without-rlm_realm --without-rlm_radutmp --without-rlm_preprocess --without-rlm_passwd --without-rlm_pap --without-rlm_pam --without-rlm_opendirectory -- without-rlm_logintime --without-rlm_linelog --without-rlm_jradius -- without-rlm_files --without-rlm_fastusers --without-rlm_detail -- without-rlm_cram --without-rlm_copy_packet --without-rlm_checkval -- without-rlm_attr_filter --without-rlm_attr_rewrite --without- rlm_always --without-rlm_sqlippool ./gmake is throwing out errors as follows: [...] gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall - D_GNU_SOURCE -DNDEBUG -I/var/tmp/freeradius-server-2 2.0.5/src -I/var/tmp/freeradius-server-2.0.5/libltdl -I/usr/local/ include -I/opt/local/include -D_LARGEFILE_SOURCE -D D_FILE_OFFSET_BITS=64 -I/usr/local/perl-5.8.3/lib/5.8.3/sun4- solaris/CORE -c rlm_perl.c -o rlm_perl.o /dev/null 21 /var/tmp/freeradius-server-2.0.5/libtool --mode=link gcc -release 2.0.5 \ -module -static -o rlm_perl.la \ -rpath /usr/local/radius/lib rlm_perl.lo rlm_perl.c /var/tmp/ freeradius-server-2.0.5/src/lib/libfreeradius-radius.la `perl - MExtUtils::Embed -e ldopts` -lnsl -lresolv -lsocket -lposix4 - lpthread *** Warning: Linking the shared library rlm_perl.la against the *** static library /usr/local/perl-5.8.3/lib/5.8.3/sun4-solaris/ auto/DynaLoader/DynaLoader.a is not portable! [...] /usr/local/gnu/bin/nm: DynaLoader.a: File format not recognized /usr/local/gnu/bin/nm: DynaLoader.a: File format not recognized /usr/local/gnu/bin/nm: DynaLoader.a: File format not recognized /usr/local/gnu/bin/nm: DynaLoader.a: File format not recognized ../modules/rlm_perl/.libs/rlm_perl.a(rlm_perl.o): In function `xs_init': rlm_perl.o(.text+0x110): undefined reference to `boot_DynaLoader' rlm_perl.o(.text+0x114): undefined reference to `boot_DynaLoader' collect2: ld returned 1 exit status gmake[4]: *** [radiusd] Error 1 gmake[3]: *** [common] Error 2 gmake[2]: *** [all] Error 2 gmake[1]: *** [common] Error 2 gmake: *** [all] Error 2 If you do not need the Perl module, rename the directory so that it does not compile. (This has been recommended a few times on this mailing list for compiling on Macs and I had to do it too.) However if you need Perl, then I have no idea how to fix it. Please help me out here. thanks Abhishek Have a nice day! - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/ users.html Nicolas Goutte extragroup GmbH - Karlsruhe Waldstr. 49 76133 Karlsruhe Germany Geschäftsführer: Stephan Mönninghoff, Hans Martin Kern, Tilman Haerdle Registergericht: Amtsgericht Münster / HRB: 5624 Steuer Nr.: 337/5903/0421 / UstID: DE 204607841 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Error with rlm_perl
On Monday 04 December 2006 01:20, Robert Masse wrote: Hi, I have the following error when trying to use rlm_perl : Module: Loaded perl /usr/sbin/freeradius: symbol lookup error: /usr/local/lib/rlm_perl-1.1.2.so: undefined symbol: perl_alloc Check if you have libperl.so in your system. I use freeradius-1.1.2 please use freeradius 1.1.3 -- Best Regards, Boian Jordanov SNE Orbitel - Next Generation Telecom tel. +359 2 4004 723 tel. +359 2 4004 002 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: Error with rlm_perl
I have the following error when trying to use rlm_perl : Module: Loaded perl /usr/sbin/freeradius: symbol lookup error: /usr/local/lib/rlm_perl-1.1.2.so: undefined symbol: perl_alloc Check if you have libperl.so in your system. I hadn't libperl.so on my system (Debian Sarge). Now, it is installed : /usr/lib/libperl.so But no change ... : Module: Loaded perl perl: module = /usr/src/freeradius_perl/example.pm perl: func_authorize = authorize perl: func_authenticate = authenticate perl: func_accounting = accounting perl: func_preacct = preacct perl: func_checksimul = checksimul perl: func_detach = detach perl: func_xlat = xlat perl: func_pre_proxy = pre_proxy perl: func_post_proxy = post_proxy perl: func_post_auth = post_auth perl: perl_flags = (null) perl: func_start_accounting = (null) perl: func_stop_accounting = (null) radiusd: symbol lookup error: /usr/local/lib/rlm_perl-1.1.2.so: undefined symbol: perl_alloc I use freeradius-1.1.2 please use freeradius 1.1.3 I must use freeradius-1.1.2 at the present time because I also use jradius. And the patch for jradius does not already exist for 1.1.3 ... - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Error with rlm_perl
On Monday 04 December 2006 12:01, Robert Masse wrote: I have the following error when trying to use rlm_perl : Module: Loaded perl /usr/sbin/freeradius: symbol lookup error: /usr/local/lib/rlm_perl-1.1.2.so: undefined symbol: perl_alloc Check if you have libperl.so in your system. I hadn't libperl.so on my system (Debian Sarge). Now, it is installed : /usr/lib/libperl.so But no change ... : please recompile freeradius or rlm_perl only -- Best Regards, Boian Jordanov SNE Orbitel - Next Generation Telecom tel. +359 2 4004 723 tel. +359 2 4004 002 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Error with rlm_perl
Hi, I have the following error when trying to use rlm_perl : Module: Loaded perl /usr/sbin/freeradius: symbol lookup error: /usr/local/lib/rlm_perl-1.1.2.so: undefined symbol: perl_alloc I use freeradius-1.1.2 Thanks for any help. Robert Masse - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html