<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title></title>
</head>
<body>
<p style="margin: 0px;">Hey Bjørn,</p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">thank you very much! The output is:</p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> perl version: v5.10.1</p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">So it's clear that libperl and perl version do match.</p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">However if I add a "use IO::Socket::INET" in the myfile,</p>
<p style="margin: 0px;">I still get "freeradius: symbol lookup error: /usr/lib/perl/5.10/auto/IO/IO.so: undefined symbol: Perl_Istack_sp_ptr"</p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">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.</p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">Best, Jan</p>
<p style="margin: 0px;"> </p>
<div style="margin: 5px 0px 5px 0px; font-family: monospace;">
"Bjørn Mork" <bjorn@mork.no> hat am 25. Mai 2010 um 17:47 geschrieben:<br />
<br />
> Nicolas Goutte <nicolas.goutte@extragroup.de> writes:<br />
> > Am 25.05.2010 um 15:12 schrieb Jan Zacharias:<br />
> ><br />
> >> Isn't there a way to find out the perl version? I thought of "print<br />
> >> $1" but this does not<br />
> >> work as intended.<br />
> ><br />
> > Try using<br />
> ><br />
> > perl -V<br />
><br />
> Or if you want to check the version of the embedded perl interpreter FR<br />
> is using:<br />
><br />
> put something like<br />
><br />
> print "perl version: $^V\n";<br />
><br />
> into myfile, create a perl module referring to it:<br />
><br />
> perl perlversion {<br />
> module = myfile<br />
> }<br />
><br />
> and reference it in the instantiate section<br />
><br />
> instantiate {<br />
> perlversion<br />
> ..<br />
> }<br />
><br />
> restart FR and see the version. Or maybe a bit easier, just look at<br />
> which perl library rlm_perl is linked with:<br />
><br />
> frtest2:~# ldd /usr/lib/freeradius/rlm_perl.so |grep perl<br />
> libperl.so.5.10 => /usr/lib/libperl.so.5.10 (0x00007fcba8989000)<br />
><br />
><br />
> Bjørn<br />
><br />
> -<br />
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
</div>
</body>
</html>