difference between lib and lib64 directories
Kamaraju S Kusumanchi
raju.mailinglists@gmail.com
Mon Sep 8 10:31:00 GMT 2008
Kamaraju S Kusumanchi wrote:
> Tobias Schlüter wrote:
>
>> Kamaraju S Kusumanchi wrote:
>>> After compiling gcc on a x86_64 machine, I ended up with two similar
>>> looking directories in the uppermost directory --- lib/ and lib64/.
>>>
>>> What is the difference between these two directories? when should I use
>>> the files in lib64/ and when should I use lib/? If there is a short
>>> document where issues like this are explained in more detail, I
>>> appreciate if some one can point that to me.
>>
>> gcc on x86_64 by default is multi-libbed, that means it can compile
>> binaries both for 32-bit and 64-bit targets (-m32 vs -m64). The
>> directories you mentioned correspond to the libraries for these two
>> targets.
>>
>> Cheers,
>> - Tobi
>
> So, should my LD_LIBRARY_PATH point to lib64 or lib directory?
>
> It seems to be working only if I point it to lib64 directory.
Never mind. I figured it out.
raju
--
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/
More information about the Fortran
mailing list