cmake cvs and runtime path resolution

Thiago Macieira thiago at kde.org
Thu Feb 21 19:51:34 CET 2008


David Faure wrote:
>libpng.so -> libpng12.so
>libpng12.so -> libpng12.so.0.15.0
>I guess the soname is libpng12.so.0.15.0 in this case, but looking at
> the first symlink wouldn't tell that.

$ objdump -p /usr/lib/libpng.so | grep SONAME
  SONAME      libpng12.so.0

$ readelf -d /usr/lib/libpng.so | grep SONAME
 0x0000000e (SONAME)                     Library soname: [libpng12.so.0]

$ eu-readelf -d /usr/lib/libpng.so | grep SONAME
  SONAME            Library soname: [libpng12.so.0]

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20080221/2fb8a217/attachment.pgp 


More information about the Kde-buildsystem mailing list