Reputation: 4903
Is there any way to list the files used while creating .so file? nm
cannot be useful and also `readelf' also. Does some table maintain information?
Upvotes: 0
Views: 2636
Reputation: 37752
you cannot list the object files used to create a shared object file, since that information is not stored by default in a shared object file. A shared library is fully linked so you cannot "unarchive" it. see reference, but you can list the functions contained using this command
nm -D /usr/lib/libopenal.so.1
Upvotes: 1