cmake cvs and runtime path resolution

Brad King brad.king at kitware.com
Thu Feb 21 19:57:51 CET 2008


Thiago Macieira wrote:
> 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]

This could be helpful, thanks.

-Brad


More information about the Kde-buildsystem mailing list