libtool
[Top][All Lists]
Advanced

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

Re: error with inter-library-dependencies


From: Christoph Wellner
Subject: Re: error with inter-library-dependencies
Date: Thu, 04 Nov 2004 10:53:58 +0100
User-agent: Opera M2/7.51 (Linux, build 689)

Hi,

well, I took a closer look at the libtool-files wich are use to create the libtool-script, especially the libtool.m4-file. In the section dealing with linking libraries I found the variable 'link_all_deplibs', wich will be set to 'no' when using linux as OS. Comparing this to the libtool.m4 in 1.5.10-Version, the sections dealing with linux are completely different. Then I compared my libtool.m4 with the on in the 1.5.6-tarball from the libtool-Homepage. Even there the file are different. Now I think, that this could be a distribution-specific problem. I'm using debian sarge.

Perhaps does someone know, how to set the variable 'link_all_deplibs' from commandline. Perhaps with a spacial tag?

Christoph

On Thu, 4 Nov 2004 09:31:38 +0100, Ralf Wildenhues <address@hidden> wrote:

* 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


_______________________________________________
Libtool mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/libtool






reply via email to

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