[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dependency with libcrypto.so.1.1 in 0.9.4


On Wednesday, 1 July 2020 15:38:18 CEST Bruno Buzzi Brassesco wrote:
> Hi,

Hi,

> After compiling 0.9.4 successfully i have a dependency problem:
> ldd libssh.so.4.8.5
> libcrypto.so.1.1 => not found
> This did not happen with ldd libssh.so.4.4.1
> The compilation parameters were the same for both.
> OpenSSL library is in a custom path.
> cmake -DCMAKE_INSTALL_PREFIX=/customPath/libssh-4.8.5
> -DOPENSSL_ROOT_DIR=/openSSLCustomPath/openssl-1.1.0f
> -DCMAKE_BUILD_TYPE=Release ..

This has nothing to do with libssh. Either you have to link with RPATH or 
update the dynamic linker config if you require special treatment.

See

man ld.so

or

https://gitlab.kitware.com/cmake/community/-/wikis/doc/cmake/RPATH-handling


	Andreas


-- 
Andreas Schneider                 asn@xxxxxxxxxxxxxx
GPG-ID:     8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D



References:
Dependency with libcrypto.so.1.1 in 0.9.4Bruno Buzzi Brassesco <bruno.brasesco@xxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org