Date: Mon, 31 May 1999 23:41:13 +0200 From: Ollivier Robert <roberto@keltia.freenix.fr> To: hackers@freebsd.org Subject: Re: PAM: Undefined symbols at runtime Message-ID: <19990531234113.A25972@keltia.freenix.fr> In-Reply-To: <19990531121122.A29277@wopr.caltech.edu>; from Matthew Hunt on Mon, May 31, 1999 at 12:11:22PM -0700 References: <19990529151511.A34375@wopr.caltech.edu> <199905310111.SAA02306@vashon.polstra.com> <19990531121122.A29277@wopr.caltech.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <cmf@ins.infonet.net>
# Date: Thu, 28 Jul 1994 19:17:05 -0500 (CDT)
#
# Additional 1.1.5 defines from
# Ollivier Robert <Ollivier.Robert@keltia.frmug.fr.net>
# Date: Wed, 28 Sep 1994 00:37:46 +0100 (MET)
[...]
# Support for FreeBSD/ELF
# Ollivier Robert <roberto@keltia.freenix.fr>
# 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990531234113.A25972>
