Re: Problem with Rlm_Perl and Digest-Attributes Translation
subscribe done -- View this message in context: http://freeradius.1045715.n5.nabble.com/Problem-with-Rlm-Perl-and-Digest-Att... Sent from the FreeRadius - User mailing list archive at Nabble.com.
Hi, I found a solution to my problem by updating the version. But now, when i do "radiusd -X", i have this error : /usr/local/etc/raddb/modules/perl[7]: Failed to link to module 'rlm_perl': rlm_perl.so: cannot open shared object file: No such file or directory. I don't have the "good" directory created. I suppose is an option during compilation because i have these files when i did ./confgure --with-static-modules=perl : rlm_perl-2.1.11.la rlm_perl.a rlm_perl.la Someone has a solution for a good compilation of freeradius with rlm_perl ? Thanks Marvin -- View this message in context: http://freeradius.1045715.n5.nabble.com/Problem-with-Rlm-Perl-and-Digest-Att... Sent from the FreeRadius - User mailing list archive at Nabble.com.
marvin wrote:
I found a solution to my problem by updating the version. But now, when i do "radiusd -X", i have this error : /usr/local/etc/raddb/modules/perl[7]: Failed to link to module 'rlm_perl': rlm_perl.so: cannot open shared object file: No such file or directory.
I don't have the "good" directory created. I suppose is an option during compilation because i have these files when i did ./confgure --with-static-modules=perl : rlm_perl-2.1.11.la rlm_perl.a rlm_perl.la
Someone has a solution for a good compilation of freeradius with rlm_perl ?
Don't build with "--with-static-modules=perl" Alan DeKok.
Hi, Thanks for your answer but when i build without "Don't build with "--with-static-modules=perl" , I have the same error. /usr/local/etc/raddb/modules/perl[7]: Failed to link to module 'rlm_perl': rlm_perl.so: cannot open shared object file: No such file or directory Marvin -- View this message in context: http://freeradius.1045715.n5.nabble.com/Problem-with-Rlm-Perl-and-Digest-Att... Sent from the FreeRadius - User mailing list archive at Nabble.com.
On Mon, Jun 27, 2011 at 4:44 PM, marvin <nicolas.dupuis@ovh.net> wrote:
Hi,
Thanks for your answer but when i build without "Don't build with "--with-static-modules=perl" , I have the same error. /usr/local/etc/raddb/modules/perl[7]: Failed to link to module 'rlm_perl': rlm_perl.so: cannot open shared object file: No such file or directory
Do you have rlm_perl.so? If not, what options were passed to ./configure? Also, what distro do you use? Often it's easier to use prebuilt packages. -- Fajar
So, I use the last distrib 2.1.11 and no, i haven't this file (rlm_perl.so). I have tried different compilation like these : ./configure --with-static-modules=perl ./configure --with-rlm_perl=yes ./configure --with-rlm_perl Without success, I have only : rlm_perl-2.1.11.la rlm_perl.a rlm_perl.la Thanks for your help :) -- View this message in context: http://freeradius.1045715.n5.nabble.com/Problem-with-Rlm-Perl-and-Digest-Att... Sent from the FreeRadius - User mailing list archive at Nabble.com.
On Mon, Jun 27, 2011 at 4:57 PM, marvin <nicolas.dupuis@ovh.net> wrote:
So, I use the last distrib 2.1.11 and no, i haven't this file (rlm_perl.so). I have tried different compilation like these :
./configure --with-static-modules=perl ./configure --with-rlm_perl=yes ./configure --with-rlm_perl
Did you read the configure output? A simple ./configure should build rlm_perl by default, but ONLY if you have necessary dev package installed (in Ubuntu, this is libperl-dev). If you DON'T the dev package installed, you'll get a warning similar to this configure: WARNING: oracle headers not found. Use --with-oracle-include-dir=<path>. configure: WARNING: silently not building rlm_sql_oracle. configure: WARNING: FAILURE: rlm_sql_oracle requires: oci.h. (the above is an example from rlm_oracle. The message will be different from rlm_perl). Again, if you're not familiar about building process, just use prebuilt packages. F14 & 15 have 2.1.11 (in updates-testing, I think). Ubuntu natty has 2.1.10 (in main) or 2.1.11 (unofficial PPA) -- Fajar
Thanks for your help. When i compiled for the 1rst time i don't have the require librairies but after install it and recompile my module rlm_perl wasn't installed. I go back to the previous version of Freeswitch (the 2.1.10) and all work now. Thanks Again. -- View this message in context: http://freeradius.1045715.n5.nabble.com/Problem-with-Rlm-Perl-and-Digest-Att... Sent from the FreeRadius - User mailing list archive at Nabble.com.
participants (3)
-
Alan DeKok -
Fajar A. Nugraha -
marvin