From owner-freebsd-ports@FreeBSD.ORG Sun Jan 30 18:46:54 2011 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9227C1065672; Sun, 30 Jan 2011 18:46:54 +0000 (UTC) (envelope-from hopet@ics.muni.cz) Received: from minas.ics.muni.cz (minas.ics.muni.cz [147.251.4.40]) by mx1.freebsd.org (Postfix) with ESMTP id 0D5A78FC1C; Sun, 30 Jan 2011 18:46:53 +0000 (UTC) Received: from kloboucek (holub.ics.muni.cz [147.251.23.83]) (authenticated user=hopet@META bits=0) by minas.ics.muni.cz (8.13.8/8.13.8/SuSE Linux 0.8) with ESMTP id p0UIK73b028844 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sun, 30 Jan 2011 19:20:08 +0100 From: "Petr Holub" To: Date: Sun, 30 Jan 2011 19:20:01 +0100 Message-ID: <0a1701cbc0aa$527c4400$f774cc00$@muni.cz> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcvAqk5b6gVCPyo1R9Gt1u1zVUD48A== Content-Language: cs X-Muni-Spam-TestIP: 147.251.23.83 X-Muni-Envelope-From: hopet@ics.muni.cz X-Muni-Virus-Test: Clean X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (minas.ics.muni.cz [147.251.4.35]); Sun, 30 Jan 2011 19:20:08 +0100 (CET) Cc: ports@FreeBSD.org Subject: problem with Perl on FreeBSD - Undefined symbol "PL_sv_undef" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jan 2011 18:46:54 -0000 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