October 24, 2004 2:42 PM

TIP: How to get DT_SONAME from shared libraries

Why is libssl.so always linked with full number instead of simple .so.0?
pavel@linux:~> ldd `which wget`|grep libssl
        libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x40024000)
It is buggy, its SONAME is wrong:
$ objdump --private-headers /usr/lib/libssl.so.0.9.7|grep SONAME
  SONAME      libssl.so.0.9.7
It should be libssl.so.0 only. Now imagine what will happen if openssl upgrades its number from 0.9.7 to 0.9.8... -----

Posted by Pavel | Permanent link | File under: Work