From owner-freebsd-stable Mon Feb 1 19:09:57 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA27505 for freebsd-stable-outgoing; Mon, 1 Feb 1999 19:09:57 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from wopr.caltech.edu (wopr.caltech.edu [131.215.240.222]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA27497 for ; Mon, 1 Feb 1999 19:09:53 -0800 (PST) (envelope-from mph@wopr.caltech.edu) Received: (from mph@localhost) by wopr.caltech.edu (8.9.2/8.9.1) id TAA50397 for stable@FreeBSD.org; Mon, 1 Feb 1999 19:09:50 -0800 (PST) (envelope-from mph) Date: Mon, 1 Feb 1999 19:09:50 -0800 From: Matthew Hunt To: stable@FreeBSD.ORG Subject: Perl auto-loading in 3.0-STABLE Message-ID: <19990201190950.A50295@wopr.caltech.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [ 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 * 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