#304: Improperly linking to system libssl & libcrypto when staged one is desired
----------------------------+-------------------
Reporter: kotoroshinoto | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 1.5.0
Component: crypto | Version: 1.5.0
Resolution: | Keywords:
Blocked By: | Blocks:
----------------------------+-------------------
Comment (by kotoroshinoto):
output of command: echo $LD_LIBRARY_PATH | tr : \\n
/UCHC/HPC/Gooch/biotoolmodules/git/2.4.1/lib64
/UCHC/HPC/Gooch/biotoolmodules/curl/7.42.1/lib
/UCHC/HPC/Gooch/biotoolmodules/libssh2/1.5.0/lib
/UCHC/HPC/Gooch/biotoolmodules/openssl/1.0.2a/lib
/UCHC/HPC/Gooch/biotoolmodules/libmetalink/0.1.2/lib
/UCHC/HPC/Gooch/biotoolmodules/libIDN/1.30/lib
/UCHC/HPC/Gooch/biotoolmodules/c-ares/1.10.0/lib
/UCHC/HPC/Gooch/biotoolmodules/R/3.2.0/lib64
/UCHC/HPC/Gooch/biotoolmodules/readline/6.3/lib
/UCHC/HPC/Gooch/biotoolmodules/glib2/2.44.0/lib
/UCHC/HPC/Gooch/biotoolmodules/python3/3.4.3/lib
/UCHC/HPC/Gooch/biotoolmodules/python2/2.7.9/lib
/UCHC/HPC/Gooch/biotoolmodules/pixman/0.32.6/lib
/UCHC/HPC/Gooch/biotoolmodules/libtiff/4.0.3/lib
/UCHC/HPC/Gooch/biotoolmodules/libsigc++/2.4.1/lib
/UCHC/HPC/Gooch/biotoolmodules/libpng/1.6.17/lib
/UCHC/HPC/Gooch/biotoolmodules/libjpeg/9a/lib
/UCHC/HPC/Gooch/biotoolmodules/cairo/1.14.2/lib
/UCHC/HPC/Gooch/biotoolmodules/lapack/3.5.0/lib
/UCHC/HPC/Gooch/biotoolmodules/gawk/4.1.2/lib
/UCHC/HPC/Gooch/biotoolmodules/oraclejava/jdk1.8.0_45/lib
/UCHC/HPC/Gooch/biotoolmodules/libmpdec/2.4.1/lib
/UCHC/HPC/Gooch/biotoolmodules/tk/8.6.4/lib
/UCHC/HPC/Gooch/biotoolmodules/tcl/8.6.4/lib
/UCHC/HPC/Gooch/biotoolmodules/perl/5.20.2/lib
/UCHC/HPC/Gooch/biotoolmodules/libffi/3.2.1/lib64
/UCHC/HPC/Gooch/biotoolmodules/libffi/3.2.1/lib
/UCHC/HPC/Gooch/biotoolmodules/libexpat/2.1.0/lib
/UCHC/HPC/Gooch/biotoolmodules/ncurses/5.9/lib
/UCHC/HPC/Gooch/biotoolmodules/mpc/1.0.3/lib
/UCHC/HPC/Gooch/biotoolmodules/isl/0.14.1/lib
/UCHC/HPC/Gooch/biotoolmodules/gcc/5.1.0/lib64
/UCHC/HPC/Gooch/biotoolmodules/gcc/5.1.0/lib
/UCHC/HPC/Gooch/biotoolmodules/cloog/0.18.3/lib
/UCHC/HPC/Gooch/biotoolmodules/mpfr/3.1.2/lib
/UCHC/HPC/Gooch/biotoolmodules/libtool/2.4.6/lib
/UCHC/HPC/Gooch/biotoolmodules/gmp/6.0.0/lib
/UCHC/HPC/Gooch/biotoolmodules/flex/2.5.39/lib
/UCHC/HPC/Gooch/biotoolmodules/binutils/2.25/lib
/opt/gridengine/lib/lx26-amd64
/opt/cuda/lib64
note the presence of /UCHC/HPC/Gooch/biotoolmodules/openssl/1.0.2a/lib
the library is available at runtime, there is also a key different in the
filenames of the *.so files
in my location: the lib directory contains:
engines libcrypto.a libcrypto.so libcrypto.so.1.0.0 libssl.a
libssl.so libssl.so.1.0.0 pkgconfig
output of locate libssl
/usr/lib64/.libssl.so.1.0.1e.hmac
/usr/lib64/.libssl.so.10.hmac
/usr/lib64/libssl.so
/usr/lib64/libssl.so.1.0.1e
/usr/lib64/libssl.so.10
/usr/lib64/libssl3.so
/usr/lib64/pkgconfig/libssl.pc
and output of locate libcrypto
/usr/lib64/.libcrypto.so.1.0.1e.hmac
/usr/lib64/.libcrypto.so.10.hmac
/usr/lib64/libcrypto.so
/usr/lib64/libcrypto.so.1.0.1e
/usr/lib64/libcrypto.so.10
/usr/lib64/pkgconfig/libcrypto.pc
the program appears to be linking against libcrypto.so.10 and remembering
that it is using libcrypto.so.10 OR somehow loading that one at runtime
instead of the one earlier on the path. (it seems to be specifically
looking for the library with a .10 in its name)
-- Ticket URL: <https://trac.libssh2.org/ticket/304#comment:2> libssh2 <https://trac.libssh2.org/> C library for writing portable SSH2 clients _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-develReceived on 2015-05-22