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

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

 



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

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf


[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux