Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Aug 2014 00:12:10 +0200
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        Bryan Drewery <bdrewery@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, Vsevolod Stakhov <vsevolod@FreeBSD.org>, baptiste Daroussin <bapt@freebsd.org>, svn-ports-all@freebsd.org, ports-committers@freebsd.org, Matthias Andree <matthias.andree@gmx.de>
Subject:   Re: svn commit: r364287 - head/ports-mgmt/pkg-devel
Message-ID:  <20140816001210.03d6312e@kalimero.tijl.coosemans.org>
In-Reply-To: <53EE81CC.2080406@FreeBSD.org>
References:  <53e39939.55bc.4ca5432c@svn.freebsd.org> <20140807172841.58633e63@kalimero.tijl.coosemans.org> <53E3A468.5050603@FreeBSD.org> <53E3AC0C.5020904@gmx.de> <53E3AD09.2050000@FreeBSD.org> <53E3B3B5.9000104@gmx.de> <53E3B6D8.9080101@FreeBSD.org> <53EE81CC.2080406@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/iPBZ89/QqND/A3vPwoTTjZ5
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Fri, 15 Aug 2014 16:55:24 -0500 Bryan Drewery wrote:
>> DBG(2)[4460]> require rule: (i386-wine-devel~emulators/i386-wine-devel(r=
) | i386-wine~emulators/i386-wine(r) | !libxslt~textproc/libxslt(r))
>> DBG(2)[5420]> libxml2.so.2 rule: (i386-wine-devel~emulators/i386-wine-de=
vel(r) | i386-wine~emulators/i386-wine(r) | !libxslt~textproc/libxslt(r))
>> DBG(3)[5420]> added shlib provide libxml2.so.2.9.1 for textproc/libxml2
>> DBG(3)[5420]> added shlib deps for textproc/libxml2 on libxml2.so.2
>=20
> Reinstalling textproc/libxml2 shows it is providing libxml2.so.2:
>=20
> # pkg query %b libxml2
> libxml2.so.2
> # readelf -d /usr/local/lib/libxml2.so.2.9.1|grep SONAME
>  0x000000000000000e (SONAME)             Library soname: [libxml2.so.2]
>=20
> I'm not sure where libxml2.so.2.9.1 came from in your test but I cannot
> recreate it now.
>=20
> Running readelf -d against /usr/local/lib/*.so on my system shows all
> (except boost) have the simpler .so.X SONAMEs rather than .so.X.Y.Z.
>=20
> @tijl: Did something with SONAME change recently?

No.  I think older versions of pkg simply used the file name instead of
the SONAME field for provided libraries.  On my systems I still have an
old libxml2 package installed which gives this:

% pkg query %B -x libxml2
libxml2.so.2
% pkg query %b -x libxml2
libxml2.so.2.9.1

--Sig_/iPBZ89/QqND/A3vPwoTTjZ5
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iF4EAREKAAYFAlPuhb8ACgkQfoCS2CCgtiuPzQEAg47vb9SvtUXbPAc/CE1OtRlf
VaRPhedfgX8/L8qgpj8A/iN7vKo1b1V6KPY111vOHNVSv8WnafUw8isIhM3heF+w
=JjcD
-----END PGP SIGNATURE-----

--Sig_/iPBZ89/QqND/A3vPwoTTjZ5--



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