How can install scripts determine which are the correct equivalents for /usr/lib for 32- and 64-bit libraries?
- by Randalli
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?