/usr/lib/private

Dag-Erling Smørgrav des at des.no
Thu Sep 5 07:44:15 UTC 2013


Konstantin Belousov <kostikbel at gmail.com> writes:
> You could consider using the $PLATFORM token in the rpath, so that
> you use /usr/lib/private-<hw-machine-arch> as the installation target.

Hmm, why?  32-bit versions are installed in /usr/lib32/private, which is
fine in most cases except that you can't - for instance - run a 32-bit
version of the base ssh or sshd on a 64-bit machine, because it won't
find libssh.  However, a PAMified application will find the correct
libpam (in /usr/lib32) and the 32-bit libpam knows that the 32-bit
modules are in /usr/lib32/private, so that will work.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-arch mailing list