Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Feb 2013 10:41:45 +0100
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Matthew Seaman <matthew@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:  <20130206094145.GG1268@ithaqua.etoilebsd.net>
In-Reply-To: <511222BA.4000808@freebsd.org>
References:  <20130205225038.GJ88651@ithaqua.etoilebsd.net> <201302060845.r168j98I072274@mech-cluster241.men.bris.ac.uk> <20130206090821.GE1268@ithaqua.etoilebsd.net> <511222BA.4000808@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--3xoW37o/FfUZJwQG
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Feb 06, 2013 at 09:30:34AM +0000, Matthew Seaman wrote:
> 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:
> >> 	>=3D20
> >> 	> Hi
> >> 	>=3D20
> >> 	> BUZI# pkg check -Ba
> >> 	> pkg: (calc-2.12.4.3_1) /usr/local/bin/calc - shared library libcalc=
=2Eso.2.=3D
> >> 	12.4.3 not found
> >> 	> pkg: (calc-2.12.4.3_1) /usr/local/bin/calc - shared library libcust=
calc.s=3D
> >> 	o.2.12.4.3 not found
> >> 	> BUZI#
> >> 	>=3D20
> >> 	> I thought there was something wrong with my installation,
> >> 	> so I rebuilt the port:
> >> 	>=3D20
> >> 	> =3D3D=3D3D=3D3D>   Running ldconfig
> >> 	> /sbin/ldconfig -m /usr/local/lib
> >> 	> =3D3D=3D3D=3D3D>   Registering installation for calc-2.12.4.3_1
> >> 	> pkg: (calc-2.12.4.3_1) /usr/local/bin/calc - shared library libcalc=
=2Eso.2.=3D
> >> 	12.4.3 not found
> >> 	> pkg: (calc-2.12.4.3_1) /usr/local/bin/calc - shared library libcust=
calc.s=3D
> >> 	o.2.12.4.3 not found
> >> 	> Installing calc-2.12.4.3_1... done
> >> 	>=3D20
> >> 	> =3D3D=3D3D=3D3D>>> Re-installation of calc-2.12.4.3_1 complete
> >> 	>=3D20
> >> 	> The libraries seem in order:
> >> 	>=3D20
> >> 	> BUZI# ls -al /usr/local/lib/libcalc.so*
> >> 	> lrwxr-xr-x  1 root  wheel      19 Feb  5 22:09 /usr/local/lib/libca=
lc.so =3D
> >> 	-> libcalc.so.2.12.4.3
> >> 	> lrwxr-xr-x  1 root  wheel      19 Feb  5 22:09 /usr/local/lib/libca=
lc.so.=3D
> >> 	2 -> libcalc.so.2.12.4.3
> >> 	> lrwxr-xr-x  1 root  wheel      19 Feb  5 22:09 /usr/local/lib/libca=
lc.so.=3D
> >> 	2.12 -> libcalc.so.2.12.4.3
> >> 	> lrwxr-xr-x  1 root  wheel      19 Feb  5 22:09 /usr/local/lib/libca=
lc.so.=3D
> >> 	2.12.4 -> libcalc.so.2.12.4.3
> >> 	> -rwxr-xr-x  1 root  wheel  792344 Feb  5 22:09 /usr/local/lib/libca=
lc.so.=3D
> >> 	2.12.4.3
> >> 	> BUZI#=3D20
> >> 	>=3D20
> >> 	> BUZI# ls -al /usr/local/lib/libcustcalc.so*
> >> 	> lrwxr-xr-x  1 root  wheel     23 Feb  5 22:09 /usr/local/lib/libcus=
tcalc.=3D
> >> 	so -> libcustcalc.so.2.12.4.3
> >> 	> lrwxr-xr-x  1 root  wheel     23 Feb  5 22:09 /usr/local/lib/libcus=
tcalc.=3D
> >> 	so.2 -> libcustcalc.so.2.12.4.3
> >> 	> lrwxr-xr-x  1 root  wheel     23 Feb  5 22:09 /usr/local/lib/libcus=
tcalc.=3D
> >> 	so.2.12 -> libcustcalc.so.2.12.4.3
> >> 	> lrwxr-xr-x  1 root  wheel     23 Feb  5 22:09 /usr/local/lib/libcus=
tcalc.=3D
> >> 	so.2.12.4 -> libcustcalc.so.2.12.4.3
> >> 	> -rwxr-xr-x  1 root  wheel  28524 Feb  5 22:09 /usr/local/lib/libcus=
tcalc.=3D
> >> 	so.2.12.4.3
> >> 	> BUZI#=3D20
> >> 	>=3D20
> >> 	> 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
> >> #
> >=20
> > So I think this is a SHLIB warning (no hurt nothing is broken) I CCed m=
atthew as
> > shlibs is his work :)
> >=20
>=20
> 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.

On single number is an arbitrary limitation and should not be. it will be s=
oon
fix in LIB_DEPENDS in the ports tree, and should be also fixed in pkg

regards,
Bapt

--3xoW37o/FfUZJwQG
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlESJVkACgkQ8kTtMUmk6EzIewCgjJDZ+krgfxyklSSNqoJ2ivpq
EZMAoIRBgnOSR8NX8Y3FLM2tUWtFggB9
=Xu9P
-----END PGP SIGNATURE-----

--3xoW37o/FfUZJwQG--



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