c - Finding dependencies of a compiled library on Unix -
is there way find names of libraries given library depends on?
basically have ".so" file load dynamically, , know other .so files it's going try load
update 07/07: found /proc//maps pretty useful, gives locations of loaded dynamic libraries given process
type readelf -a <path-to-library> | grep 'needed'
in terminal.
note: readelf
part of binutils.
Comments
Post a Comment