Finding the library versions a library was linked against

view full story

http://unix.stackexchange.com – I have a library that was compiled on an unknown Ubuntu machine, And I'd like to determine what version of Ubuntu that machine had at the compile time. My idea was to try and find the versions of different libraries used (e.g. the kernel), knowing that these versions changed with different releases. Iv'e tried using nm and ldd, but I can't seem to find any relevant info. Any suggestions? (HowTos)