From owner-freebsd-hackers Wed Nov 10 20: 9:17 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from frmug.org (frmug-gw.frmug.org [193.56.58.252]) by hub.freebsd.org (Postfix) with ESMTP id CFBBE15424 for ; Wed, 10 Nov 1999 20:09:10 -0800 (PST) (envelope-from roberto@keltia.freenix.fr) Received: (from uucp@localhost) by frmug.org (8.9.3/frmug-2.5/nospam) with UUCP id FAA02354 for hackers@freebsd.org; Thu, 11 Nov 1999 05:09:10 +0100 (CET) (envelope-from roberto@keltia.freenix.fr) Received: by keltia.freenix.fr (Postfix, from userid 101) id 57CC18711; Thu, 11 Nov 1999 00:45:52 +0100 (CET) Date: Thu, 11 Nov 1999 00:45:52 +0100 From: Ollivier Robert To: hackers@freebsd.org Subject: Re: mode_perl DSO works on STABLE, not CURRENT Message-ID: <19991111004552.B44926@keltia.freenix.fr> Mail-Followup-To: hackers@freebsd.org References: <600.942223977@axl.noc.iafrica.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0pre2i In-Reply-To: <600.942223977@axl.noc.iafrica.com> X-Operating-System: FreeBSD 4.0-CURRENT/ELF AMD-K6/200 & 2x PPro/200 SMP Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG According to Sheldon Hearn: > | Syntax error on line 261 of /usr/local/etc/apache/httpd.conf: > | Can't load '/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/MD5/MD5.so' for module MD5: /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/MD5/MD5.so: Undefined symbol "PL_markstack_ptr" at /usr/libdata/perl/5.00503/DynaLoader.pm line 169. Your Perl binary is compiled without '-Wl,-E' (or '-Wl,--export-dynamic'). Without this option the Perl binary doesn't expoert its symbols thus preventing any dynamically loaded module to use anything from the binary. The official Perl distribution and the one in CURRENT (and 3.3-STABLE) have been fixed a long time ago. /usr/src/contrib/perl5/hints/freebsd.sh: -=-=- # Support for FreeBSD/ELF # Ollivier Robert # Date: Wed Sep 2 16:22:12 CEST 1998 ... 3.*|4.0*) objformat=`/usr/bin/objformat` if [ x$objformat = xelf ]; then libpth="/usr/lib /usr/local/lib" glibpth="/usr/lib /usr/local/lib" ldflags="-Wl,-E " lddlflags="-shared " else if [ -e /usr/lib/aout ]; then libpth="/usr/lib/aout /usr/local/lib /usr/lib" glibpth="/usr/lib/aout /usr/local/lib /usr/lib" fi lddlflags='-Bshareable' fi cccdlflags='-DPIC -fpic' ;; ... -=-=- -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 4.0-CURRENT #75: Tue Nov 2 21:03:12 CET 1999 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message