libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: interdependent shared library problem


From: Albert Chin
Subject: Re: interdependent shared library problem
Date: Sun, 15 Oct 2006 20:17:54 -0500
User-agent: Mutt/1.5.6i

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 (address@hidden)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]