From owner-freebsd-ports@FreeBSD.ORG Fri Feb 11 15:46:37 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 012F216A4CE for ; Fri, 11 Feb 2005 15:46:37 +0000 (GMT) Received: from melon.pingpong.net (82.milagro.bahnhof.net [195.178.168.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 582BE43D31 for ; Fri, 11 Feb 2005 15:46:36 +0000 (GMT) (envelope-from girgen@FreeBSD.org) Received: from localhost (localhost.pingpong.net [127.0.0.1]) by melon.pingpong.net (Postfix) with ESMTP id C13474ACCA; Fri, 11 Feb 2005 16:46:32 +0100 (CET) Received: from melon.pingpong.net ([127.0.0.1]) by localhost (melon.pingpong.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 82828-01-24; Fri, 11 Feb 2005 16:46:32 +0100 (CET) Received: from [192.168.1.187] (81.milagro.bahnhof.net [195.178.168.81]) by melon.pingpong.net (Postfix) with ESMTP id 99D744ACC8; Fri, 11 Feb 2005 16:46:32 +0100 (CET) Date: Fri, 11 Feb 2005 16:46:29 +0100 From: Palle Girgensohn To: Sven Willenberger , freebsd-ports@freebsd.org Message-ID: <510442EEF15A0237A0138D49@rambutan.pingpong.net> In-Reply-To: <1108135462.10866.12.camel@lanshark.dmv.com> References: <1108135462.10866.12.camel@lanshark.dmv.com> X-Mailer: Mulberry/3.1.6 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: by amavisd-new at pingpong.net Subject: Re: databases/p5-postgresql-plperl links to wrong libperl.so X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Feb 2005 15:46:37 -0000 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 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 >