rlm_perl symbol lookup errors
Alexander Clouter
alex at digriz.org.uk
Fri Jan 1 18:39:12 CET 2010
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.html
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.
More information about the Freeradius-Users
mailing list