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. Best, Jan "Bjørn Mork" <bjorn@mork.no> hat am 25. Mai 2010 um 17:47 geschrieben:
Nicolas Goutte <nicolas.goutte@extragroup.de> writes:
Am 25.05.2010 um 15:12 schrieb Jan Zacharias:
Isn't there a way to find out the perl version? I thought of "print $1" but this does not work as intended.
Try using
perl -V
Or if you want to check the version of the embedded perl interpreter FR is using:
put something like
print "perl version: $^V\n";
into myfile, create a perl module referring to it:
perl perlversion { module = myfile }
and reference it in the instantiate section
instantiate { perlversion .. }
restart FR and see the version. Or maybe a bit easier, just look at which perl library rlm_perl is linked with:
frtest2:~# ldd /usr/lib/freeradius/rlm_perl.so |grep perl libperl.so.5.10 => /usr/lib/libperl.so.5.10 (0x00007fcba8989000)
Bjørn
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html