Date: Fri, 11 Feb 2005 16:46:29 +0100 From: Palle Girgensohn <girgen@FreeBSD.org> To: Sven Willenberger <sven@dmv.com>, freebsd-ports@freebsd.org Subject: Re: databases/p5-postgresql-plperl links to wrong libperl.so Message-ID: <510442EEF15A0237A0138D49@rambutan.pingpong.net> In-Reply-To: <1108135462.10866.12.camel@lanshark.dmv.com> References: <1108135462.10866.12.camel@lanshark.dmv.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?510442EEF15A0237A0138D49>