This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Library search path problem on x86_64 machines (lib64 vs lib)


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]