autoconf
[Top][All Lists]
Advanced

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

Re: checking for header/library mismatch, rpath problem?


From: Ralf Wildenhues
Subject: Re: checking for header/library mismatch, rpath problem?
Date: Wed, 16 Jun 2010 06:12:06 +0200
User-agent: Mutt/1.5.20 (2010-04-22)

Hello Adam,

* Adam Mercer wrote on Tue, Jun 15, 2010 at 10:11:58PM CEST:
> This works fine, however there is a problem with this for some of our
> users. They prefer not to set LD_LIBRARY_PATH (and friends) and use
> the rpath embedded in the linked binary to find the appropriate
> libraries. Some of the libraries that we have these checks have
> dependent libraries that it seems that the rpaths and not embedded in
> the test code created by AC_RUN_IFELSE, so the check fails.

I'm not sure I understand this paragraph.

> On
> checking config.log the reason for the failure it is due to the
> linking being unable to find the dependent libraries.
> 
> Is there a way that the rpaths can be embedded into the test code, or
> is there a way that I can rework this test to support these users?

Well, things should work with
  ./configure LDFLAGS=-Wl,-rpath,/foo/bar

or a platform-specific variation thereof.  If that's not what was meant,
then please show an example invocation that fails, including setup and
relevant config.log parts, please.

Thanks,
Ralf



reply via email to

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