Subject: Re: adding support for BSD/OS for perl5 and libperl.so not found
To: Jeremy C. Reed <reed@reedmedia.net>
From: Johnny C. Lam <jlam@NetBSD.org>
List: tech-pkg
Date: 10/04/2003 00:48:11
On Fri, Oct 03, 2003 at 05:26:58PM -0700, Jeremy C. Reed wrote:
> Building lang/perl5 under BSD/OS appears to work fine, but the
> post-install fails with Error 16. This happens when the installation tries
> to run /usr/pkg/bin/perl.
>
> So I tried it manually and it said:
> /usr/pkg/bin/perl: can't load library 'libperl.so'
>
> $ ldd /usr/pkg/bin/perl5.6.1
> libperl.so => not found
> libdl.so => /shlib/libdl.so (0x48053000)
> libm.so => /shlib/libm.so.0.0 (0x48056000)
> libc.so.2 => /shlib/libc.so.2 (0x48067000)
> libgcc.so.1 => /shlib/libgcc.so.1 (0x4813d000)
You'll need to make patches/patch-aa also add a case for BSD/OS in
the second block:
bsdos)
xxx="-Wl,-Rshrpdir"
;;
Cheers,
-- Johnny Lam <jlam@NetBSD.org>