FreeBSD links wrong library for tests if one is installed in $prefix

Vincent Lefevre vincent at vinc17.net
Wed Jun 28 09:42:15 UTC 2017


On 2017-06-28 11:26:27 +0200, Emmanuel Thome wrote:
> On Wed, Jun 28, 2017 at 11:11:41AM +0200, Vincent Lefevre wrote:
> > Or it should enforce the kind of dynamic tag:
> >   * --enable-new-dtags when the wrapper is used (so that RUNPATH is
> >     used, on which LD_LIBRARY_PATH has the precedence);
> >   * --disable-new-dtags *and* .../.libs in the RPATH when the wrapper
> >     is not used (i.e. with -no-install).
> > 
> > That would solve all the problems with GNU ld, AFAIK.
> 
> Yeah, perhaps. I wouldn't count on old dtags to stay for another
> 10 years, tho.

Perhaps except if libtool starts to enforce them, as they may be
needed with -no-install. Otherwise -no-install should probably
disappear.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


More information about the gmp-bugs mailing list