Subject: Re: [libssh2] #304: Improperly linking to system libssl & libcrypto when staged one is desired

Re: [libssh2] #304: Improperly linking to system libssl & libcrypto when staged one is desired

From: libssh2 Trac <trac_at_libssh2.stuge.se>
Date: Sat, 23 May 2015 10:17:25 -0000

#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 danf):

 Applications are linked against the SONAME of the shared library, which
 looks to be libssl.so.10 in this case. If you have no file of that name,
 then there's no way for the run-time linker to find your library, so it
 continues along the search path and links against the one it *can*
 find—the system version.

-- 
Ticket URL: <https://trac.libssh2.org/ticket/304#comment:3>
libssh2 <https://trac.libssh2.org/>
C library for writing portable SSH2 clients
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2015-05-23