Gentoo Archives: gentoo-dev

From: Andrey Grozin <grozin@×××××××××××××××××.org>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: why doesn't readline-6 install libreadline.so symlink?
Date: Sat, 26 Sep 2009 14:48:56
Message-Id: Pine.LNX.4.64.0909261440510.23819@woodpecker.gentoo.org
1 On Sat, 26 Sep 2009, Mike Frysinger wrote:
2 >> so long as the linker looks at /usr/lib before /lib, which is usually the
3 >> case, unless "-L/lib" is passed to ld (by way of gcc)
4 > incorrect -- link order doesnt matter here with readline-6
5 Here's a specific example: sci-mathematics/pari-2.3.4-r1. It has a
6 hand-written Configure script (not configure). It searches for
7 libreadline.so in a list of directories, and sees that it points to
8 libreadline.so.5 (this is after libreadline-5 has been unmerged). So, it
9 adds -l libreadline.so.5 to the linking flags. Clearly, this is not the
10 desired behaviour. What can be done to avoid it?
11
12 Andrey

Replies