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 <c...@ins.infonet.net>
# Date: Thu, 28 Jul 1994 19:17:05 -0500 (CDT)
#
# Additional 1.1.5 defines from 
# Ollivier Robert <ollivier.rob...@keltia.frmug.fr.net>
# Date: Wed, 28 Sep 1994 00:37:46 +0100 (MET)

[...]

# Support for FreeBSD/ELF
# Ollivier Robert <robe...@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! -=- robe...@keltia.freenix.fr
FreeBSD keltia.freenix.fr 4.0-CURRENT #71: Sun May  9 20:16:32 CEST 1999



To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to