From owner-freebsd-ports@FreeBSD.ORG Wed Feb 6 13:22:33 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 5190F2B8; Wed, 6 Feb 2013 13:22:33 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id B99DB9A3; Wed, 6 Feb 2013 13:22:32 +0000 (UTC) Received: from irix.bris.ac.uk ([137.222.10.39] helo=ncs.bris.ac.uk) by dirj.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1U34xG-0004fE-Rj; Wed, 06 Feb 2013 13:22:31 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1U34xG-0007aH-Lg; Wed, 06 Feb 2013 13:22:26 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6) with ESMTP id r16DMQXg058843; Wed, 6 Feb 2013 13:22:26 GMT (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6/Submit) id r16DMQ6n058842; Wed, 6 Feb 2013 13:22:26 GMT (envelope-from mexas) Date: Wed, 6 Feb 2013 13:22:26 GMT From: Anton Shterenlikht Message-Id: <201302061322.r16DMQ6n058842@mech-cluster241.men.bris.ac.uk> To: bapt@FreeBSD.org, matthew@freebsd.org Subject: Re: pkg: (calc-2.12.4.3_1) /usr/local/bin/calc - shared library libcalc.so.2.12.4.3 not found In-Reply-To: <511222BA.4000808@freebsd.org> X-Spam-Score: -1.1 X-Spam-Level: - Cc: johans@FreeBSD.org, mexas@bristol.ac.uk, freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bristol.ac.uk List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Feb 2013 13:22:33 -0000 From matthew@freebsd.org Wed Feb 6 10:49:32 2013 On 06/02/2013 09:08, Baptiste Daroussin wrote: > On Wed, Feb 06, 2013 at 08:45:09AM +0000, Anton Shterenlikht wrote: >> From baptiste.daroussin@gmail.com Wed Feb 6 00:07:24 2013 >> >> On Tue, Feb 05, 2013 at 10:15:25PM +0000, Anton Shterenlikht wrote: >> >=20 >> > Hi >> >=20 >> > BUZI# pkg check -Ba >> > pkg: (calc-2.12.4.3_1) /usr/local/bin/calc - shared library libcalc.so.2.= >> 12.4.3 not found >> > pkg: (calc-2.12.4.3_1) /usr/local/bin/calc - shared library libcustcalc.s= >> o.2.12.4.3 not found >> > BUZI# >> >=20 >> > I thought there was something wrong with my installation, >> > so I rebuilt the port: >> >=20 >> > =3D=3D=3D> Running ldconfig >> > /sbin/ldconfig -m /usr/local/lib >> > =3D=3D=3D> Registering installation for calc-2.12.4.3_1 >> > pkg: (calc-2.12.4.3_1) /usr/local/bin/calc - shared library libcalc.so.2.= >> 12.4.3 not found >> > pkg: (calc-2.12.4.3_1) /usr/local/bin/calc - shared library libcustcalc.s= >> o.2.12.4.3 not found >> > Installing calc-2.12.4.3_1... done >> >=20 >> > =3D=3D=3D>>> Re-installation of calc-2.12.4.3_1 complete >> >=20 >> > The libraries seem in order: >> >=20 >> > BUZI# ls -al /usr/local/lib/libcalc.so* >> > lrwxr-xr-x 1 root wheel 19 Feb 5 22:09 /usr/local/lib/libcalc.so = >> -> libcalc.so.2.12.4.3 >> > lrwxr-xr-x 1 root wheel 19 Feb 5 22:09 /usr/local/lib/libcalc.so.= >> 2 -> libcalc.so.2.12.4.3 >> > lrwxr-xr-x 1 root wheel 19 Feb 5 22:09 /usr/local/lib/libcalc.so.= >> 2.12 -> libcalc.so.2.12.4.3 >> > lrwxr-xr-x 1 root wheel 19 Feb 5 22:09 /usr/local/lib/libcalc.so.= >> 2.12.4 -> libcalc.so.2.12.4.3 >> > -rwxr-xr-x 1 root wheel 792344 Feb 5 22:09 /usr/local/lib/libcalc.so.= >> 2.12.4.3 >> > BUZI#=20 >> >=20 >> > BUZI# ls -al /usr/local/lib/libcustcalc.so* >> > lrwxr-xr-x 1 root wheel 23 Feb 5 22:09 /usr/local/lib/libcustcalc.= >> so -> libcustcalc.so.2.12.4.3 >> > lrwxr-xr-x 1 root wheel 23 Feb 5 22:09 /usr/local/lib/libcustcalc.= >> so.2 -> libcustcalc.so.2.12.4.3 >> > lrwxr-xr-x 1 root wheel 23 Feb 5 22:09 /usr/local/lib/libcustcalc.= >> so.2.12 -> libcustcalc.so.2.12.4.3 >> > lrwxr-xr-x 1 root wheel 23 Feb 5 22:09 /usr/local/lib/libcustcalc.= >> so.2.12.4 -> libcustcalc.so.2.12.4.3 >> > -rwxr-xr-x 1 root wheel 28524 Feb 5 22:09 /usr/local/lib/libcustcalc.= >> so.2.12.4.3 >> > BUZI#=20 >> >=20 >> > I've pkg-1.0.7 installed. >> > Is the problem with pkg? >> >> Do you have shlib activated? >> >> yes, >> >> # grep SHLIBS /usr/local/etc/pkg.conf >> SHLIBS : YES >> # > > So I think this is a SHLIB warning (no hurt nothing is broken) I CCed matthew as > shlibs is his work :) > There are numerous fixes to the SHLIB code in HEAD basically waiting on pkg-1.1 to be released. However the problem here appears to be that the ABI version number in the shared library name is malformed. There should be just one number, not a string of numbers separated by decimal points. So who's responsibility is it, the maintainer's? the upstream? the pkgng? Anton