I once saw a binary (say xyz) on Linux, when it is running, i can see it loads a .so file (say abc.so), but when i run "#ldd xyz", the abc.so is not contained in the outputs of the ldd.
Ldd only displays shared libraries that are loaded in the program "bootstrap". A program can use dlopen(3) to load other shared libraries at will, therefore ldd(1) and lsof(8) can show different lists of shared libraries loaded.
Ldd only displays shared libraries that are loaded in the program "bootstrap". A program can use dlopen(3) to load other shared libraries at will, therefore ldd(1) and lsof(8) can show different lists of shared libraries loaded.