Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
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 20:42:08
Message-Id: 200909261642.06114.vapier@gentoo.org
In Reply to: Re: [gentoo-dev] Re: why doesn't readline-6 install libreadline.so symlink? by Andrey Grozin
1 On Saturday 26 September 2009 10:48:53 Andrey Grozin wrote:
2 > On Sat, 26 Sep 2009, Mike Frysinger wrote:
3 > >> so long as the linker looks at /usr/lib before /lib, which is usually
4 > >> the case, unless "-L/lib" is passed to ld (by way of gcc)
5 > >
6 > > incorrect -- link order doesnt matter here with readline-6
7 >
8 > Here's a specific example: sci-mathematics/pari-2.3.4-r1. It has a
9 > hand-written Configure script (not configure). It searches for
10 > libreadline.so in a list of directories, and sees that it points to
11 > libreadline.so.5 (this is after libreadline-5 has been unmerged). So, it
12 > adds -l libreadline.so.5 to the linking flags. Clearly, this is not the
13 > desired behaviour. What can be done to avoid it?
14
15 the configure script is broken and it should be fixed. linking directly
16 against a SONAME is wrong.
17 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature