This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Library search path problem on x86_64 machines (lib64 vs lib)
On 30 November 2010 14:34, Vincent Lefevre wrote:
>
> The point is that
> ?* either /usr/lib64 shouldn't exist at all,
> ?* or .../lib64 directories shouldn't be searched at all
> ? ?(this is what Debian's GCC 4.3.2 does),
> ?* or the search path order should be changed, e.g. to something
> ? ?like: dir1/../lib64 dir1 dir2/../lib64 dir2 ...
>
> "make install" typically installs libraries in $prefix/lib, not
> $prefix/lib64, so that the existence of lib64 doesn't make sense!
Other distros handle x86/x86_64 differently to Debian.