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 <[EMAIL PROTECTED]>
# 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! -=- [EMAIL PROTECTED]
FreeBSD keltia.freenix.fr 4.0-CURRENT #75: Tue Nov  2 21:03:12 CET 1999



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to