ldd does not show the dependency library list
We built a library by linking it with a shared library libjvm.so. Now, when I do ldd mylib.so, it does not list libjvm.so. When I run an application, I get a symbol missing from mylib.so, which is actually defined in libjvm.so. Even if I set libjvm.so path in LD_LIBRARY_PATH, the error does not go away.
Pleas help, what is wrong here.