[Top][All Lists]

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

Re: multiple inclusion of file

From: Bob Friesenhahn
Subject: Re: multiple inclusion of file
Date: Tue, 24 Apr 2012 14:17:58 -0500 (CDT)
User-agent: Alpine 2.01 (GSO 1266 2009-07-14)

On Tue, 24 Apr 2012, Robert Boehne wrote:


Find out what the path for is for the one you want,
then set LDFLAGS=-L/correct/path/  when you build the library that it's 
complaining about.

Note that it may not be PCRE, but it could be something that PCRE links to.

Use "ldd" or "ldd -s" to find out which libraries are pulling in libstdc++ and 
from where.

I think that the situation is that when linking with the C++ compiler, the C++ compiler automatically adds linkage to its own Libtool also adds linkage to (as a dependency) so the linker sees the (hopefully) same shared library listed twice. There would be a severe problem if libtool was to request linking with a different than the C++ compiler needs.

Solaris ld warns about this issue, and presumably GNU ld does not.

Bob Friesenhahn
GraphicsMagick Maintainer,

reply via email to

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