How can install scripts determine which are the correct equivalents for /usr/lib for 32- and 64-bit libraries?
Posted
by
Randalli
on Server Fault
See other posts from Server Fault
or by Randalli
Published on 2010-11-19T04:47:50Z
Indexed on
2010/12/31
17:55 UTC
Read the original article
Hit count: 168
I have an SDK that must install 32-bit and 64-bit files in the correct places under /usr/lib for a variety of Linux distributions.
For example, it appears that for Fedora, /usr/lib64 is the 64bit lib, but for Debian based systems, /usr/lib is the 64bit directory.
I want to find out if there is a reliable way to determine the correct locations.
More specifically, is there a way an install script can determine programmatically which are the correct equivalents for /usr/lib for 32- and 64-bit libraries on a given distribution?
© Server Fault or respective owner