pkg: (calc-2.12.4.3_1) /usr/local/bin/calc - shared library libcalc.so.2.12.4.3 not found

Baptiste Daroussin bapt at FreeBSD.org
Wed Feb 6 09:41:51 UTC 2013


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 at 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.

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

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20130206/cc8be7f5/attachment.sig>


More information about the freebsd-ports mailing list