rlm_perl symbol lookup errors
Hi, Running 2.1.8 on Debian lenny and recently have been playing around with rlm_perl. Got the following when I include Net::LDAP or Data::Dumper in my perl module: ---- Net::LDAP ---- garibaldi:/home/ac56# freeradius -X [snipped] freeradius: symbol lookup error: /usr/lib/perl/5.10/auto/IO/IO.so: undefined symbol: Perl_Istack_sp_ptr ------------------- ---- Data::Dumper ---- Can't load '/usr/lib/perl/5.10/auto/Data/Dumper/Dumper.so' for module Data::Dumper: /usr/lib/perl/5.10/auto/Data/Dumper/Dumper.so: undefined symbol: Perl_sv_cmp at /usr/lib/perl/5.10/XSLoader.pm line 64. at /usr/lib/perl/5.10/Data/Dumper.pm line 36 Compilation failed in require at /usr/src/otp-perl/rfc2289.pm line 8. BEGIN failed--compilation aborted at /usr/src/otp-perl/rfc2289.pm line 8. rlm_perl: perl_parse failed: /usr/src/otp-perl/rfc2289.pm not found or has syntax errors. /etc/freeradius/LOCAL/gtc-trial.perl[7]: Instantiation failed for module "gtc-trial.perl" /etc/freeradius/sites-enabled/gtc-trial[46]: Failed to find module "gtc-trial.perl". /etc/freeradius/sites-enabled/gtc-trial[46]: Failed to parse "gtc-trial.perl" entry. ---------------------- I am guessing this is probably all due to the previously reported libtool 'fun' issues[1]? I'm only curious if what I am seeing is to be expected or have I borked something with my install? Is there is a more formal 'fix' than just to run freeradius with "LD_PRELOAD=/usr/lib/libperl.so.5.10" prepended to it? Happy New Year All. Cheers [1] http://www.mail-archive.com/freeradius-users@lists.freeradius.org/msg56983.h... P.S. seems there is a missing </li> on the freeradius homepage so the recent news after the first item is left wedged over -- Alexander Clouter .sigmonster says: Your supervisor is thinking about you.
Alexander Clouter wrote:
Hi,
Running 2.1.8 on Debian lenny and recently have been playing around with rlm_perl. Got the following when I include Net::LDAP or Data::Dumper in my perl module:
---- Net::LDAP ---- garibaldi:/home/ac56# freeradius -X [snipped] freeradius: symbol lookup error: /usr/lib/perl/5.10/auto/IO/IO.so: undefined symbol: Perl_Istack_sp_ptr
See src/main/modules.c, HAVE_LT_DLADVISE_INIT Define it, and try to re-build. It might work, or you might need to poke the source some more. It's apparently a new libltdl API that makes it work.
P.S. seems there is a missing </li> on the freeradius homepage so the recent news after the first item is left wedged over
It was a missing </ul>. Fixed now, thanks. Alan DeKok.
Hi After installing FreeRadius 2.1.8 in 'sites-enabled' I notice new enables site: 'control-socket' In its header I have read: # For now, anyone who has permission to connect to the socket # has nearly complete control over the server. Be warned! # # This functionality is NOT enabled by default. I think you must remove that from 'sites-enables' -- С уважением, Коньков mailto:kes-kes@yandex.ru
Коньков Евгений wrote:
Hi
After installing FreeRadius 2.1.8 in 'sites-enabled' I notice new enables site: 'control-socket' ... I think you must remove that from 'sites-enables'
The default is to permit read operations only. i.e. the control socket cannot be used to *change* anything. Alan DeKok.
participants (3)
-
Alan DeKok -
Alexander Clouter -
Коньков Евгений