libtool
[Top][All Lists]
Advanced

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

Re: error with inter-library-dependencies


From: Ralf Wildenhues
Subject: Re: error with inter-library-dependencies
Date: Thu, 4 Nov 2004 09:31:38 +0100
User-agent: Mutt/1.4.1i

* Christoph Wellner wrote on Wed, Nov 03, 2004 at 03:08:02PM CET:
> 
> I have a problem with libtool-1.5.6, when I want to start my compiled app,  
> I get an error-message, that some libraries are not found:
> 
> /home/chwellner/nmm2_sarge/apps/clic/.libs/lt-clic: error while loading  
> shared libraries: libnmmutils.so.0: cannot open shared object file: No  
> such file or directory
> 
> when I call ldd on the binary, I get the following output:
> 
> ldd .libs/lt-clic
>
*snip*
> 
> before we used libtool 1.4.2a on debian woddy, but after upgrading to  
> debian sarge with libtool 1.5.6 we get the error mentioned above.
> 
> Does someone have an explanation or solution to this problem?

Hmm, maybe not enough information, but some ideas on what could've
gone wrong .. ideas:

Could you try using current Libtool branch-2-0?
Maybe libtool--gary--1.0--patch-49 has to do with the problem.

Does linking work using installed versions of the libraries?
Note that here it might currently be important that you install
libraries in the correct order.  Not automatically installing
interdependent libraries in the correct order is a yet-unsolved
Automake/Libtool problem.

Further ideas/inquiries:

Does it work when building with `make LDFLAGS=-static' or `make
LDFLAGS=-all-static'?

You could post some relevant Makefile.am parts, or, even better, a
small example reproducing this problem (I see that this might prove
non-trivial).

Regards,
Ralf




reply via email to

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