On Fri, 2007-06-22 at 13:49, Bastian Friedrich wrote:
Hi,
On Friday 22 June 2007, Richard Timsit wrote:
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.
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?
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
--
Richard Timsit <Richard.Timsit(a)epfl.ch>
EPFL