Date: Sun, 30 Jan 2011 19:20:01 +0100 From: "Petr Holub" <hopet@ics.muni.cz> To: <skv@FreeBSD.org> Cc: ports@FreeBSD.org Subject: problem with Perl on FreeBSD - Undefined symbol "PL_sv_undef" Message-ID: <0a1701cbc0aa$527c4400$f774cc00$@muni.cz>
next in thread | raw e-mail | index | archive | help
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@cesnet.cz phone: +420-549493944 fax: +420-541212747 e-mail: hopet@ics.muni.cz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0a1701cbc0aa$527c4400$f774cc00$>