Subject: Re: perl 5.6.0
To: Patrick Welche <prlw1@newn.cam.ac.uk>
From: Giles Lean <giles@nemeton.com.au>
List: netbsd-help
Date: 06/12/2000 04:34:24
On Sun, 11 Jun 2000 19:23:33 +0100  Patrick Welche wrote:

> I have seen a few messages about perl 5.6.0 in the mail archive
> ...
> So, are there any success stories?

Yes -- there even should be one in the archives. :-)

This is noe perl bug ID 20000605.001.  The workaround is to add a file

       perl-5.6.0/ext/DynaLoader/hints/netbsd.pl

that contains the same contents as the openbsd.pl file already in that
directory, to wit:

# 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';

Then you need to recompile.  I don't know if you need to re-run
Configure or not.

The preferred fix of course is to update perl's Configure script to
recognise which NetBSD platforms need this #define.

Regards,

Giles