Solaris: What is the difference between .so and .so.1 files?
Posted
by
Rob Goretsky
on Server Fault
See other posts from Server Fault
or by Rob Goretsky
Published on 2012-06-24T15:16:53Z
Indexed on
2012/06/24
15:17 UTC
Read the original article
Hit count: 207
solaris
I am trying to understand how/why certain library files are dynamically loaded by the linker on Solaris. I am using ldd to see this (with the -s switch to see what paths are tried by the linker). As an example, if I run "ldd /usr/local/bin/isql -s" I notice that one of the libraries that is searched for is called "libodbc.so.1". I notice that this does NOT match a file it finds along the way called "libodbc.so". So, it finally resolves to a place where there is a symbolic link between "libodbc.so.1.0.0" and "libodbc.so.1". My question is - what is the significance of the ".1" here? Is it to indicate a version number? Why do some installers create these symbolic links, while others don't?
© Server Fault or respective owner