Subject: Re: i386-current: Perl dynaloader mysteriously failing?
To: Grey Wolf <>
From: Giles Lean <>
List: current-users
Date: 09/30/2000 10:02:53
------- =_aaaaaaaaaa0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <>

> Without warning, I've suddenly found myself on a system where
> perl's dynamic loader is failing, and it's taking several
> applications with it.  Would a dated ld.elf_so cause this problem?
> Does anyone else see this problem?

Did it ever work?  What's the error message?  What platform?  What
version of perl?

I did see a similar problem on 1.4.2/i386 with perl 5.6, but it
caused the install to fail.  -current/i386 with ELF instead of
a.out didn't have this problem though, so I suspect you are seeing
something different ...



------- =_aaaaaaaaaa0
Content-Type: message/rfc822
Content-ID: <>

Subject: Re: perl-5.6.0 on 1.4.2/i386 
In-reply-to: <> 
Date: Sun, 04 Jun 2000 11:22:56 +1000
Message-ID: <>
From: Giles Lean <>

On Mon, 22 May 2000 17:05:47 +1000  I wrote:

> I've tried building perl-5.6.0, and while the build works and the
> non-broken-by-design parts of the test suite pass the install blows
> up:
> # make install
> ...
> ./perl installperl 
> Can't load 'lib/auto/File/Glob/' for module File::Glob: No such file or directory at lib/ line 73.
>  at lib/File/ line 94
> Compilation failed in require at installperl line 66.
> BEGIN failed--compilation aborted at installperl line 66.

I've looked at this now; the problem is that dlopen() is insisting on
absolute paths on 1.4.2/i386 (a.out).  Apparently dlopen() doesn't
have this restriction on all NetBSD platforms?

Unless there is agreement that this is a NetBSD bug I'll send a perl
bug report requesting that like OpenBSD we get a file:



    # XXX Configure test needed?
    # Some NetBSDs seem to have a dlopen() that won't accept relative paths
    $self->{CCFLAGS} = $Config{ccflags} . ' -DDLOPEN_WONT_DO_RELATIVE_PATHS';

Trying to test dynamic loading within perl's Configure script I'll
leave to someone else.



------- =_aaaaaaaaaa0--