problem with Perl on FreeBSD - Undefined symbol "PL_sv_undef"

Petr Holub hopet at ics.muni.cz
Sun Jan 30 18:46:54 UTC 2011


Hi,

I'm trying to get Perl running with slapd-perl backend of OpenLDAP
server. I've tried various combinations of Perl 5.8 and 5.10 and
OpenLDAP 2.3 and 2.4 with two types of failures:
- OpenLDAP 2.4 + Perl 5.8/5.10: segfault in loading perl backend
  (can send more details if needed)
- OpenLDAP 2.3 + Perl 5.8/5.10:

# slaptest
Error Can't load '/usr/local/lib/perl5/5.8.9/mach/auto/Fcntl/Fcntl.so' for module Fcntl:
/usr/local/lib/perl5/5.8.9/mach/auto/Fcntl/Fcntl.so: Undefined symbol "PL_sv_undef" at
/usr/local/lib/perl5/5.8.9/mach/XSLoader.pm line 70.
 at /usr/local/lib/perl5/5.8.9/mach/Fcntl.pm line 215
BEGIN failed--compilation aborted at /usr/local/lib/perl5/5.8.9/mach/Fcntl.pm line 216.
Compilation failed in require at /usr/local/lib/perl5/5.8.9/mach/POSIX.pm line 21.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/5.8.9/mach/POSIX.pm line 21.
Compilation failed in require at H350EnterpriseMerger.pm line 4.
BEGIN failed--compilation aborted at H350EnterpriseMerger.pm line 4.
Compilation failed in require at (eval 2) line 1.
BEGIN failed--compilation aborted at (eval 2) line 1.

It looks like there is something broken in the installation of
embedding part of Perl, which by itself works fine. I've read
that it might be due to conflicting patchlevel.h (and there is
one in /usr/local/include/python2.5/patchlevel.h), but even after
renaming it and rebuilding Perl from port, I'm still getting this
error. Any ideas?

Thanks,
Petr

================================================================
                           Petr Holub
CESNET z.s.p.o.                       Supercomputing Center Brno
Zikova 4                             Institute of Compt. Science
162 00 Praha 6, CZ                            Masaryk University
Czech Republic                     Botanicka 68a, 60200 Brno, CZ 
e-mail: Petr.Holub at cesnet.cz               phone: +420-549493944
                                             fax: +420-541212747
                                       e-mail: hopet at ics.muni.cz





More information about the freebsd-ports mailing list