|
From: Leif M. <le...@ta...> - 2004-04-21 09:06:16
|
Andreas, Andreas Wendt wrote: >Prashant, > >to verify, which additional libraries a shared library or an executable depend on, you may issue the command "ldd" on it. >So "ldd wrapper" gives me on a SuSE Linux Enterprise 8 (I have no RedHat here): > > libc.so.6 => /lib/i686/libc.so.6 (0x40022000) > /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) > >For libwrapper.so I get: > statically linked > >(Leif: was the static linking for the JNI library intentional?) > > No it was not intentional. As it long as it does not increase the possibility of users having compatibility problems, I would be happy to apply any patches to clean this up. :-) >The binaries are not linked with explicit library dependency, so the GNU linker decides which libraries to link in my default (libc.so in this case; ld-linux.so is linked in by libc.so and is no direct dependency). > >ldd will also show you if there are missing dependencies. > > Cheers, Leif |