what is the difference between /usr/lib and /usr/lin64
Hi all
I have to different folders /usr/lib and /usr/lib64 Iam not sure what is the difference between them. My linux installation is 64 bit. So is it going to use the libraries in /usr/lib or /usr/lib64 Thank you all for your help Mina |
/usr/lib64 is for 64-bit libraries. /usr/lib is for 32-bit compatibility libraries.
|
Dear Sir/senior
I understand how your patience may run out but there is a whole world of users out there that run to Windows for ease of use, also convenience, and so telling them to go 'read up' may drive them straight back to Windows; a few tips might make all the difference.
When using 'uname' how do you tell if your system/ architecture is 64 bit or 32? Fred. |
Quote:
Quote:
Also, it's polite to make your own threads for new questions, which yours is. |
Thank you for your reply.
So if I have a linux installed as 64 bit. will it use the libraries in /usr/lib or /usr/lib64? or if I have 32 bit linux, and I installed a library in /usr/lib64/ is it going to recognize it or should I install 32-bit library? The reason I am asking this is becuase I found /usr/lib/pkgconfig and /usr/lib64/pkgconfig which is used to recognize the libraries for the autoconf tool. So which folder is going to be used by the autotools, the one in the /usr/lib64 or just the /usr/lib ? Thank you mina |
/usr/lib64 is not used on 32-bit.
on 64-bit, both could be used. You probably want to stick with 64-bit libraries on a 64-bit system. |
All times are GMT -5. The time now is 04:21 PM. |