soname libserf-1.so.1.3.0
rupert THURNER
rupert at opencsw.org
Sun Jan 26 21:07:22 CET 2014
On Sun, Jan 26, 2014 at 8:09 PM, Maciej (Matchek) Bliziński <
maciej at opencsw.org> wrote:
> 2014-01-26 rupert THURNER <rupert at opencsw.org>
>
> rupert @ unstable10x : ~/opencsw/libserf/trunk
>> $ elfdump -d /opt/csw/lib/libserf-1.so.1.3.0 | grep SONAME
>> [18] SONAME 0x1cd7 libserf-1.so.1
>>
>
> Right, so the soname is "libserf-1.so.1".
>
>
>>
>> why we have the soname then "libserf-1.so.1" and not "libserf.so.1", and
>> why we name the libary package then CSWlibserf1-1 and not CSWlibserf-1?
>>
>
> If the soname were "libserf-1.so" or "libserf.so.1", the package name
> would be CSWlibserf1, without the dash. The syntax for package names is
> CSW<name><number>(-<number>)+. If there is more than one number, all
> numbers are listed separated by dashes. Here's a list of examples:
>
>
> http://www.opencsw.org/manual/for-maintainers/shared-libraries.html#package-naming
>
> You wrote that the new libserf has a new soname, what was the old soname?
>
i mixed up filename and soname - and i am still confused with the package
names resp sonames. why it is libserf-1.so.1 and not libserf.so.1?
$ pkginfo -l CSWlibserf1-0
VERSION: 1.1.1,REV=2012.11.06
$ grep CSWlibserf1- /var/sadm/install/contents
/opt/csw/lib/libserf-1.so.0=libserf-1.so.0.0.0 s none CSWlibserf1-0
$ elfdump -d /opt/csw/lib/libserf-1.so.0.0.0 | grep SONAME
[21] SONAME 0x1aeb libserf-1.so.0
$ pkginfo -l CSWlibserf1-3
VERSION: 1.3.3,REV=2013.12.24
$ elfdump -d /opt/csw/lib/libserf-1.so.1.3.0 | grep SONAME
[18] SONAME 0x1cd7 libserf-1.so.1
i checked on ubuntu and there it is strange as well:
$ sudo wajig listpackages serf
ii libserf1:i386 1.1.0-2ubuntu1
i386 high-performance asynchronous HTTP client library
$ sudo wajig listfiles libserf1:i386
/usr/lib/i386-linux-gnu/libserf-1.so.0.0.0
/usr/lib/i386-linux-gnu/libserf-1.so.0
$ objdump -p /usr/lib/i386-linux-gnu/libserf-1.so.0.0.0 | grep SONAME
SONAME libserf-1.so.0
rupert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/maintainers/attachments/20140126/89cb8db3/attachment-0001.html>
More information about the maintainers
mailing list