rlm_perl version?
Johan Meiring
jmeiring at pcservices.co.za
Wed May 26 08:36:06 CEST 2010
On 2010/05/25 10:13 PM, Jan Zacharias wrote:
>
>
> Hey Bjørn,
>
> thank you very much! The output is:
>
> perl version: v5.10.1
>
> So it's clear that libperl and perl version do match.
>
> However if I add a "use IO::Socket::INET" in the myfile,
>
> I still get "freeradius: symbol lookup error:
> /usr/lib/perl/5.10/auto/IO/IO.so: undefined symbol: Perl_Istack_sp_ptr"
>
> What could be the reason? I run a Linux raw 2.6.32-22-generic #33-Ubuntu
> SMP Wed Apr 28 13:28:05 UTC 2010 x86_64 GNU/Linux System.
>
Hi,
Don't really know enough about libraries, but it could be related to a
previous issue I had on debian (issue still exists with 2.1.9)
Can you try the following:
1) Make sure freeradius is not already running
2) Start freeradius using as follows:
"/usr/sbin/freeradius -X"
Confirm it fails.
3) Now start it like this:
"LD_PRELOAD=/usr/lib/libperl.so.5.10 /usr/sbin/freeradius -X"
If the third step works, it is a debian bug.
Modify your /etc/init.d/freeradius.
Look for:
"start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $PROGRAM || ret=$?"
Replace with:
"LD_PRELOAD=/usr/lib/libperl.so.5.10 start-stop-daemon --start --quiet
--pidfile $PIDFILE --exec $PROGRAM || ret=$?"
Cheers,
--
Johan Meiring
Cape PC Services CC
Tel: (021) 883-8271
Fax: (021) 886-7782
More information about the Freeradius-Users
mailing list