On 30 November 2010 12:53, Vincent Lefevre wrote: > I've found a library search path problem with GCC 4.3.1. I wonder > whether this is a bug in GCC or in Debian's symbolic link settings > and what the current status is (with new GCC versions). > > The summary: > > GCC searches all .../lib64 directories, then all .../lib directories, > but Debian has a symbolic link /usr/lib64 -> /usr/lib, which means > that /usr/lib will have the precedence over all the other .../lib > directories. This is wrong! Since it is the same as /usr/lib64, surely it *already* has precedence over the other lib dirs anyway, because /usr/lib64 will have been searched earlier, so I don't see why it causes a problem.