svn commit: r364287 - head/ports-mgmt/pkg-devel
Tijl Coosemans
tijl at FreeBSD.org
Fri Aug 15 22:12:26 UTC 2014
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-devel(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
>
> Reinstalling textproc/libxml2 shows it is providing libxml2.so.2:
>
> # 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]
>
> I'm not sure where libxml2.so.2.9.1 came from in your test but I cannot
> recreate it now.
>
> 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.
>
> @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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20140816/5e23f496/attachment.sig>
More information about the svn-ports-head
mailing list