I have a .so file called abc.so If I type:
ldd abc.so
libssl.so.10 => /usr/lib64/libssl.so.10 (0x00007f76f9100000)
If I type:
ls -l /usr/lib64/libssl.so.10
/usr/lib64/libssl.so.10 -> libssl.so.1.0.1e
Why is it linking to libssl.so.10 instead of libssl.so ? When I update openssl rpm I notice that:
/usr/lib64/libssl.so.10
still exists, but is there ever a case that updating an rpm would use something like libssl.so.11 in which case the dynamically linked file used in abc.so would be out of date?
Also, if I have def.so which contains:
/usr/lib/libssl.a(libssl64.so.0.9.8)
Since that is statically linked, does that mean that no matter what version of libssl.a is there since it was statically linked it will always use libssl64.so.0.9.8 ?