unixshared-libraries

How do I determine the version of a library in Unix without 'strings' or 'what'


I have a copy of the expat XML processing library on an embedded system running busybox 0.61. I need to find out the version of the library, but I don't have the 'strings' or 'what' applications on the image, nor can I recompile the image. These busybox images that I'm forced to use a grossly impaired.

Is there any way for me to find out what version of the expat library is installed without the 'strings' or 'what' utilities ? The library is shared (libexpat.so.1)


Solution

  • If this is just a one-time problem, couldn't you copy the library to another machine that has strings installed and run it there?