databases/p5-postgresql-plperl links to wrong libperl.so
Palle Girgensohn
girgen at FreeBSD.org
Fri Feb 11 07:46:37 PST 2005
Hi!
I'd say this is a bug in the perl port. Just like it relinks the perl
binary, it should ultimately relink the libperl.so file.
/Palle
--On fredag, februari 11, 2005 10.24.22 -0500 Sven Willenberger
<sven at dmv.com> wrote:
> FreeBSD 4.10
> Postgresql 7.4.7
> Perl 5.8.6_2 (from ports)
>
> relevant /etc/make.conf lines:
># added by use.perl 2005-02-07 18:32:47
> PERL_VER=5.8.6
> PERL_VERSION=5.8.6
> NOPERL=yes
>
>
> When building databases/p5-postgresql-plperl the resultant plperl.so
> (/usr/local/lib/postgresql/plperl.so) links to the libperl.so
> in /usr/lib instead of /usr/local/lib/perl5/5.8.6/mach/CORE/.
>
> ldd /usr/local/lib/postgresql/plperl.so
> /usr/local/lib/postgresql/plperl.so:
> libperl.so => /usr/lib/libperl.so (0x2810b000)
> libm.so.2 => /usr/lib/libm.so.2 (0x281a3000)
> libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x281be000)
> libutil.so.3 => /usr/lib/libutil.so.3 (0x281d7000)
>
> the configure script used by postgresql itself tests for the lib
> directory via:
>|> perl -MConfig -e 'print $Config{archlibexp}'
> /usr/local/lib/perl5/5.8.6/mach
>
> so it appears to find it ... is something in ports overriding this
> location or is there something I can -Define to have it use the correct
> libperl.so?
>
>|> ls -al /usr/lib/libperl.so
> lrwxr-xr-x 1 root wheel 12 Oct 26 10:57 /usr/lib/libperl.so ->
> libperl.so.3
>|> ls -al /usr/lib/libperl.so.3
> -r--r--r-- 1 root wheel 614824 Oct 26 10:57 /usr/lib/libperl.so.3
>|> ls -al /usr/local/lib/perl5/5.8.6/mach/CORE/libperl.so
> -r-xr-xr-x 1 root wheel 1094925 Feb 7
> 18:31 /usr/local/lib/perl5/5.8.6/mach/CORE/libperl.so
>
> or should this be filed as a bug/PR ??
>
> Sven Willenberger
>
More information about the freebsd-ports
mailing list