ibm-s390-linux / smc-tools

Tools for use with AF_SMC sockets
Eclipse Public License 1.0
19 stars 14 forks source link

adjust default library path for Ubuntu #6

Open frank-heimes opened 1 year ago

frank-heimes commented 1 year ago

Adjust default library path for Ubuntu As of today the default library path for Ubuntu in smc-tools is lib/${ARCHTYPE}-linux-gnu (which expands to lib/s390-linux-gnu), but for other distributions it's /lib64. However, according to the Debian Policy it should be /usr/lib. This commit changes the default path on Ubuntu from lib/${ARCHTYPE}-linux-gnu to /usr/lib.

frank-heimes commented 1 year ago

Just as a side note: The /usr/lib/s390x-linux-gnu directory is to make libraries for multiple architectures co-installable on the same filesystem (multiarch). But Ubuntu supports (on IBM Z and LinuxONE systems) 64-bit (s390x) only, there is not 31-bit (aka s390) support. Hence there is no meaningful other architecture where packages can be co-installed for. And afaics there is also no co-installable way for other distros. Hence it's best to install on Ubuntu just into the standard (64-bit) library path, that is /usr/lib.

frank-heimes commented 1 year ago

Excuse me, I had to adjust the PR according to the Debian Policy.