Date: Mon, 1 Feb 1999 19:09:50 -0800 From: Matthew Hunt <mph@FreeBSD.ORG> To: stable@FreeBSD.ORG Subject: Perl auto-loading in 3.0-STABLE Message-ID: <19990201190950.A50295@wopr.caltech.edu>
next in thread | raw e-mail | index | archive | help
[ almost sent to -current; keep forgetting 3.0 is -stable now. :-) ]
I made world on a 3.0-STABLE source tree ca. Friday. I now discover
that dynamic loading of Perl modules is broken:
wopr:~$ perl -e 'use Socket'
Can't load '/usr/libdata/perl/5.00502/mach/auto/Socket/Socket.so' for module Socket: Service unavailable at /usr/libdata/perl/5.00502/DynaLoader.pm line 168.
at -e line 1
BEGIN failed--compilation aborted at -e line 1.
wopr:~$ file /usr/libdata/perl/5.00502/mach/auto/Socket/Socket.so
/usr/libdata/perl/5.00502/mach/auto/Socket/Socket.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), not stripped
The bit of DynaLoader.pm around line 168 reads:
# Many dynamic extension loading problems will appear to come from
# this section of code: XYZ failed at line 123 of DynaLoader.pm.
# Often these errors are actually occurring in the initialisation
# C code of the extension XS file. Perl reports the error as being
# in this perl code simply because this was the last perl code
# it executed.
my $libref = dl_load_file($file, $module->dl_load_flags) or
croak("Can't load '$file' for module $module: ".dl_error()."\n");
Clue?
--
Matthew Hunt <mph@pobox.com> * Stay close to the Vorlon.
http://www.pobox.com/~mph/pgp.key for PGP public key 0x67203349.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990201190950.A50295>
