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 |