Quantcast

install libcrypto.so.1.1 -> /usr/local//usr/local/lib64/libcrypto.so.1.1 ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

install libcrypto.so.1.1 -> /usr/local//usr/local/lib64/libcrypto.so.1.1 ?

Jeffrey Walton-3
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: install libcrypto.so.1.1 -> /usr/local//usr/local/lib64/libcrypto.so.1.1 ?

Matt Caswell-2


On 29/03/17 09:43, Jeffrey Walton wrote:
> Any ideas how to get OpenSSL to use /usr/local as a prefix, but place
> its libraries in /usr/local/lib64?

libdir is relative to prefix, to just use "--libdir=lib64"

From INSTALL:

  --libdir=DIR
                   The name of the directory under the top of the
installation
                   directory tree (see the --prefix option) where
libraries will
                   be installed. By default this is "lib". Note that on
Windows
                   only ".lib" files will be stored in this location.
dll files
                   will always be installed to the "bin" directory.





Matt

--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
Loading...