Hey Everyone,
when i try to load module perl.so, i get this message :
ERROR: load_module: could not open module </usr/local/lib/openser/modules/perl.so>: /usr/local/lib/openser/modules/perl.so: undefined symbol: boot_OpenSER
In /usr/local/lib/openser/modules/ i have not only perl.so but also the lib/perl dir.
openser-1.2.0-tls or openser-1.2.1-tls
Any idea ? Thanks,
Hi,
On Friday 22 June 2007, Richard Timsit wrote:
Your build apparently did not correctly compile "openserxs.xs", which is the source of boot_OpenSER.
Do you have the development tools of perl installed (esp. "xsubpp")? What does "which xsubpp" return? How large is your modules/perl/openserxs.c?
What distribution are you using?
Best, Bastian
On Fri, 2007-06-22 at 13:49, Bastian Friedrich wrote:
Thanks a lot for your reply.
which xsubpp -> /usr/bin/xsubpp But openserxs.c is empty !
What distribution are you using?
Redhat EL3 with perl-5.8.0-94.EL3
Head /usr/bin/xsubpp : #!./miniperl
But no miniperl in my system !
Once i replace in /usr/bin/xsubpp #!./miniperl by #!/usr/bin/perl
I obtain openserxs.c from openserxs.xs and ls -ls modules/perl/openserxs.c 43255 Jun 22 14:34 modules/perl/openserxs.c
make modules=modules/perl make a perl.so who load !
Thanks a lot.
Best, Bastian
Hi all,
I've got an error while trying to compile the Perl module. The out I got is this:
-------------------------------------------- # make modules=modules/perl modules
make: *** [modules] Error2 ---------------------------------------------
Just that!
Here you've got some datails about my system:
Linux Distribution: RedHat Enterprise Linux Server release 5. Perl Version: 5.8.8 CPU: Intel Core 2 6600 2.40 GHz
I've could compile the module on other systems with no problems.
Does anybody have any idea about what is going on?
Thanks in advance,
Víctor Cartes
I also must say that the system where I want to compile this module is a XEN virtual machine. The main system is runing RHE 5 too.
Hope somebody know how to fix this issue.
Thanks again,
Victor Cartes
----- Original Message ----- From: "Víctor Cartes" openser@conexiongroup.com To: Users@openser.org Sent: Thursday, August 02, 2007 11:51 AM Subject: [OpenSER-Users] Error compiling Perl module
Hi,
On Thursday 02 August 2007, Víctor Cartes wrote:
the critical parts of compiling the Perl module are the availability of (a functional) xsubpp executable and the Perl headers and libraries. For most distributions (sorry, I currently don't have access to a RedHat system), these are part of a perl-devel, perl-dev or similarly named package.
One user reported a broken xsubpp script on a RedHat or RedHat-derivate system some time ago; please check whether your xsubpp script executes correctly.
You may try to execute ======================================= xsubpp -typemap `perl -MConfig -e \ 'print $Config{installprivlib}'`/ExtUtils/typemap -typemap typemap \ openserxs.xs > openserxs.c ======================================= in the perl module directory. Check whether the resulting openserxs.c file contains reasonable-looking C source.
Please also check whether there is a perl-devel or perl-dev (or similarly named) package for your distribution. On Debian systems, a package libperl-dev is required.
Bastian