From owner-freebsd-hackers Mon May 31 15:25:38 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 8B1C91553A for ; Mon, 31 May 1999 15:25:30 -0700 (PDT) (envelope-from roberto@keltia.freenix.fr) Received: (from uucp@localhost) by frmug.org (8.9.1/frmug-2.3/nospam) with UUCP id AAA02207 for hackers@freebsd.org; Tue, 1 Jun 1999 00:25:27 +0200 (CEST) (envelope-from roberto@keltia.freenix.fr) Received: by keltia.freenix.fr (Postfix, from userid 101) id 4CE0F8837; Mon, 31 May 1999 23:41:13 +0200 (CEST) (envelope-from roberto) Date: Mon, 31 May 1999 23:41:13 +0200 From: Ollivier Robert To: hackers@freebsd.org Subject: Re: PAM: Undefined symbols at runtime Message-ID: <19990531234113.A25972@keltia.freenix.fr> Mail-Followup-To: hackers@freebsd.org References: <19990529151511.A34375@wopr.caltech.edu> <199905310111.SAA02306@vashon.polstra.com> <19990531121122.A29277@wopr.caltech.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/0.95.5i In-Reply-To: <19990531121122.A29277@wopr.caltech.edu>; from Matthew Hunt on Mon, May 31, 1999 at 12:11:22PM -0700 X-Operating-System: FreeBSD 4.0-CURRENT/ELF ctm#5322 AMD-K6 MMX @ 200 MHz Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG According to Matthew Hunt: > I've noticed that dynamic linking in Perl also doesn't work for me, > likely for the same reason. I haven't tried rebuilding perl with > "-export-dynamic" yet, though. It will work. Trust me :-) /usr/src/contrib/perl5/hints/freebsd.sh: -=-=- # Original based on info from # Carl M. Fongheiser # Date: Thu, 28 Jul 1994 19:17:05 -0500 (CDT) # # Additional 1.1.5 defines from # Ollivier Robert # Date: Wed, 28 Sep 1994 00:37:46 +0100 (MET) [...] # 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 #71: Sun May 9 20:16:32 CEST 1999 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message