Re: rlm_perl version?

2010-05-26 Thread Johan Meiring
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:

Re: rlm_perl version?

2010-05-26 Thread Josip Rodin
On Tue, May 25, 2010 at 11:04:00PM +0200, Jan Zacharias wrote: That did the trick, I just added #defineHAVE_LT_DLADVISE_INIT to src/main/modules.c as Bj??rn suggested and now it works flaw-less-ly :) Alan, maybe it's time to enabled that bit by default :) -- 2. That which causes joy or

Re: rlm_perl version?

2010-05-26 Thread Alan DeKok
Josip Rodin wrote: On Tue, May 25, 2010 at 11:04:00PM +0200, Jan Zacharias wrote: That did the trick, I just added #defineHAVE_LT_DLADVISE_INIT to src/main/modules.c as Bj??rn suggested and now it works flaw-less-ly :) Alan, maybe it's time to enabled that bit by default :) I need to

Re: rlm_perl version?

2010-05-25 Thread Alan DeKok
Jan Zacharias wrote: I'm trying to get the freenac check_mac perl script running and get this error: freeradius: symbol lookup error: /usr/lib/perl/5.10/auto/Fcntl/Fcntl.so: undefined symbol: Perl_Istack_sp_ptr Afaik this means that the embedded perl interpreter (rlm_perl) is too old for

Re: rlm_perl version?

2010-05-25 Thread Bjørn Mork
Jan Zacharias j...@dfki.de writes: I'm trying to get the freenac check_mac perl script running and get this error: freeradius: symbol lookup error: /usr/lib/perl/5.10/auto/Fcntl/Fcntl.so: undefined symbol: Perl_Istack_sp_ptr See e.g.

Re: rlm_perl version?

2010-05-25 Thread Jan Zacharias
Hey Alan,   Alan DeKok al...@deployingradius.com hat am 25. Mai 2010 um 14:43 geschrieben:    My suspicion is that you've built 2.1.9 with version X of Perl, and are then trying to link it with version Y of Perl.  Ensure that you only have one version of Perl installed. That's not the case

Re: rlm_perl version?

2010-05-25 Thread Nicolas Goutte
Am 25.05.2010 um 15:12 schrieb Jan Zacharias: Hey Alan, Alan DeKok al...@deployingradius.com hat am 25. Mai 2010 um 14:43 geschrieben: My suspicion is that you've built 2.1.9 with version X of Perl, and are then trying to link it with version Y of Perl. Ensure that you only

Re: rlm_perl version?

2010-05-25 Thread Bjørn Mork
Nicolas Goutte nicolas.gou...@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

Re: rlm_perl version?

2010-05-25 Thread Jan Zacharias
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:

Re: rlm_perl version?

2010-05-25 Thread Bjørn Mork
Jan Zacharias j...@dfki.de writes: 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:

Re: rlm_perl version?

2010-05-25 Thread Jan Zacharias
Hey!   That did the trick, I just added #defineHAVE_LT_DLADVISE_INIT to src/main/modules.c as Bjørn suggested and now it works flaw-less-ly :)   Best, Jan   Bjørn Mork bj...@mork.no hat am 25. Mai 2010 um 22:36 geschrieben: Jan Zacharias j...@dfki.de writes: Hey Bjørn,   thank you very