On Sun, Oct 15, 2006 at 08:53:41PM +0100, Patrick Welche wrote: > With CVS autotools of this month I am getting in a pickle trying > to build a program which depends on a shared library which depends > on a shared library. This is on NetBSD which uses rpath. An example > based on one from autobook is attached which builds > > hello -> libhello -> (libSM,libICE) > > .libs/libhello.so seems fine (objdump -x): > > NEEDED libSM.so.6 > NEEDED libICE.so.6 > SONAME libhello.so.0 > RPATH /usr/X11R6/lib > > but the binary .libs/hello seems less happy: > > NEEDED libhello.so.0 > NEEDED libSM.so.6 > NEEDED libICE.so.6 > NEEDED libc.so.12 > RPATH /usr/local/lib
What does the dependency_libs variable in libhello.la look like? Does an ldd on libhello.so.0 find the correct libraries? > so on execution libSM and libICE won't be found. Because /usr/X11R6/lib isn't in the default set of paths searched by the loader? -- albert chin ([EMAIL PROTECTED]) _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool
