[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    Re: [gentoo-dev] Re: why doesn't readline-6 install libreadline.so symlink?
From:       Mike Frysinger <vapier () gentoo ! org>
Date:       2009-09-26 20:42:05
Message-ID: 200909261642.06114.vapier () gentoo ! org
[Download RAW message or body]


On Saturday 26 September 2009 10:48:53 Andrey Grozin wrote:
> On Sat, 26 Sep 2009, Mike Frysinger wrote:
> >> so long as the linker looks at /usr/lib before /lib, which is usually
> >> the case, unless "-L/lib" is passed to ld (by way of gcc)
> >
> > incorrect -- link order doesnt matter here with readline-6
> 
> Here's a specific example: sci-mathematics/pari-2.3.4-r1. It has a
> hand-written Configure script (not configure). It searches for
> libreadline.so in a list of directories, and sees that it points to
> libreadline.so.5 (this is after libreadline-5 has been unmerged). So, it
> adds -l libreadline.so.5 to the linking flags. Clearly, this is not the
> desired behaviour. What can be done to avoid it?

the configure script is broken and it should be fixed.  linking directly 
against a SONAME is wrong.
-mike

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic