|
From: | Thomas Jahns |
Subject: | Re: binutils 2.28 breaking libtool for test programs when -no-install is used |
Date: | Tue, 30 May 2017 17:39:14 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
On 05/30/2017 12:02 PM, Vincent Lefevre wrote:
Note that binutils 2.28 is breaking libtool for test programs ("make check") when -no-install is used. I've reported the following bug: https://sourceware.org/bugzilla/show_bug.cgi?id=21476 The problem is that with this version, RUNPATH is used instead of RPATH in the executable generated by the linker, so that LD_LIBRARY_PATH now overrides the run path set up by libtool. I wonder whether libtool can do something as a workaround.
The error is your setting of LD_LIBRARY_PATH, if you want the old behaviour back because you cannot get rid of LD_LIBRARY_PATH, consider adding
-Wl,--disable-new-dtagsto LDFLAGS. Setting LD_LIBRARY_PATH as some "permanent" solution is always an error waiting to happen and indicative of something that went wrong beforehand.
I repeat: don't set LD_LIBRARY_PATH, that's the real problem, libtool not working for you is just a symptom of that.
Regards, Thomas
smime.p7s
Description: S/MIME Cryptographic Signature
[Prev in Thread] | Current Thread | [Next in Thread] |