From owner-freebsd-ports@FreeBSD.ORG Wed Feb 6 09:30:48 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 D443A9F2; Wed, 6 Feb 2013 09:30:48 +0000 (UTC) (envelope-from matthew@freebsd.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 6ACA3C3A; Wed, 6 Feb 2013 09:30:48 +0000 (UTC) Received: from rufus.webfusion.com (mail.heartinternet.co.uk [79.170.40.31]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.6/8.14.6) with ESMTP id r169UYeS039130 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 6 Feb 2013 09:30:42 GMT (envelope-from matthew@freebsd.org) DKIM-Filter: OpenDKIM Filter v2.7.4 smtp.infracaninophile.co.uk r169UYeS039130 Authentication-Results: smtp.infracaninophile.co.uk/r169UYeS039130; dkim=none reason="no signature"; dkim-adsp=none (insecure policy) X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host mail.heartinternet.co.uk [79.170.40.31] claimed to be rufus.webfusion.com Message-ID: <511222BA.4000808@freebsd.org> Date: Wed, 06 Feb 2013 09:30:34 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130129 Thunderbird/17.0.2 MIME-Version: 1.0 To: Baptiste Daroussin Subject: Re: pkg: (calc-2.12.4.3_1) /usr/local/bin/calc - shared library libcalc.so.2.12.4.3 not found References: <20130205225038.GJ88651@ithaqua.etoilebsd.net> <201302060845.r168j98I072274@mech-cluster241.men.bris.ac.uk> <20130206090821.GE1268@ithaqua.etoilebsd.net> In-Reply-To: <20130206090821.GE1268@ithaqua.etoilebsd.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: johans@FreeBSD.org, Anton Shterenlikht , freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Feb 2013 09:30:48 -0000 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. Cheers, Matthew