Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Feb 2013 09:30:34 +0000
From:      Matthew Seaman <matthew@freebsd.org>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        johans@FreeBSD.org, Anton Shterenlikht <mexas@bristol.ac.uk>, freebsd-ports@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
Message-ID:  <511222BA.4000808@freebsd.org>
In-Reply-To: <20130206090821.GE1268@ithaqua.etoilebsd.net>
References:  <20130205225038.GJ88651@ithaqua.etoilebsd.net> <201302060845.r168j98I072274@mech-cluster241.men.bris.ac.uk> <20130206090821.GE1268@ithaqua.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?511222BA.4000808>