openca / libpki

Easy-to-use high-level library for PKI-enabled applications
Other
50 stars 34 forks source link

libpki wrong library installation folder on Debian-based #2

Closed vtsingaras closed 9 years ago

vtsingaras commented 9 years ago

Configuring libpki on a 14.04 64bit machine results in selecting /usr/lib64/ as the lib install directory, instead of the more appropriate /usr/lib/x86_64-linux-gnu (at least on Debian and Ubuntu).

https://wiki.ubuntu.com/MultiarchSpec

opencrypto commented 9 years ago

This is a distribution-specific issue. The default installation for all UNIX platforms is actually /usr/lib64 for 64bits builds. You can always specify a different library installation directory by using the appropriate configure option. In your case:

$ ./configure --prefix=/usr --with-libdir=/usr/lib64/x86_64-linux-gnu

this should address your installation issue.