I'm working with OpenSSL 1.1.0. I'm trying to set prefix=/usr/local, openssldir=/usr/local and libdir=/usr/local/lib64. The configure looks like: INSTALL_PREFIX=/usr/local INSTALL_LIBDIR=$INSTALL_PREFIX/lib64 KERNEL_BITS=64 ./config no-ssl2 no-ssl3 no-comp shared \ enable-ec_nistp_64_gcc_128 -Wl,-rpath,$INSTALL_LIBDIR --prefix=$INSTALL_PREFIX \ --openssldir=$INSTALL_PREFIX --libdir=$INSTALL_LIBDIR When I look at the tail of the compile and install I see: ... install ./include/openssl/x509.h -> /usr/local/include/openssl/x509.h install ./include/openssl/x509_vfy.h -> /usr/local/include/openssl/x509_vfy.h install ./include/openssl/x509v3.h -> /usr/local/include/openssl/x509v3.h install libcrypto.a -> /usr/local//usr/local/lib64/libcrypto.a install libssl.a -> /usr/local//usr/local/lib64/libssl.a install libcrypto.so.1.1 -> /usr/local//usr/local/lib64/libcrypto.so.1.1 link /usr/local//usr/local/lib64/libcrypto.so -> /usr/local//usr/local/lib64/libcrypto.so.1.1 install libssl.so.1.1 -> /usr/local//usr/local/lib64/libssl.so.1.1 link /usr/local//usr/local/lib64/libssl.so -> /usr/local//usr/local/lib64/libssl.so.1.1 install libcrypto.pc -> /usr/local//usr/local/lib64/pkgconfig/libcrypto.pc install libssl.pc -> /usr/local//usr/local/lib64/pkgconfig/libssl.pc install openssl.pc -> /usr/local//usr/local/lib64/pkgconfig/openssl.pc *** Installing engines install engines/capi.so -> /usr/local/usr/local/lib64/engines-1.1/capi.so install engines/padlock.so -> /usr/local/usr/local/lib64/engines-1.1/padlock.so *** Installing runtime files install libcrypto.so.1.1 -> /usr/local//usr/local/lib64/libcrypto.so.1.1 install libssl.so.1.1 -> /usr/local//usr/local/lib64/libssl.so.1.1 install apps/openssl -> /usr/local/bin/openssl install ./tools/c_rehash -> /usr/local/bin/c_rehash I believe OpenSSL 1.0.2 is a little better behaved. I don't recall seeing this when using it, but I might be wrong. Any ideas how to get OpenSSL to use /usr/local as a prefix, but place its libraries in /usr/local/lib64? Jeff -- openssl-users mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users