From owner-freebsd-ports@FreeBSD.ORG Fri Feb 11 15:23:27 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 677D116A4CF; Fri, 11 Feb 2005 15:23:27 +0000 (GMT) Received: from smtp-gw-cl-d.dmv.com (smtp-gw-cl-d.dmv.com [216.240.97.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE27E43D2F; Fri, 11 Feb 2005 15:23:26 +0000 (GMT) (envelope-from sven@dmv.com) Received: from lanshark.dmv.com (lanshark.dmv.com [216.240.97.46]) j1BFahWa028688; Fri, 11 Feb 2005 10:36:43 -0500 (EST) (envelope-from sven@dmv.com) From: Sven Willenberger To: freebsd-ports@freebsd.org Content-Type: text/plain Date: Fri, 11 Feb 2005 10:24:22 -0500 Message-Id: <1108135462.10866.12.camel@lanshark.dmv.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.48 on 216.240.97.42 cc: girgen@freebsd.org Subject: 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:23:27 -0000 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