[openssl-users] Vanilla OpenSSL uses sytems libs

Richard Levitte levitte at openssl.org
Wed Mar 14 22:10:49 UTC 2018


BTW, which OpenSSL version are we talking about here?

In message <a3437978-3a36-41b4-20e8-0210ef4a592b at coderhacks.com> on Wed, 14 Mar 2018 10:59:20 +0100, "etc at coderhacks.com" <etc at coderhacks.com> said:

etc> Yes... thats the same what I thought.
etc> 
etc> I expected to link against the the vanilla built if I set no-shared.
etc> But it links against my systems libs.
etc> 
etc> It seems config takes my no-shared correctly - because If I do a typo
etc> it will tell me about an unknown option.
etc> 
etc> Only If I set LD_LIBRARY_PATH to my vanillas path then it links
etc> against the just built libs.
etc> 
etc> Are there more parameters than no-shared that influence that??
etc> 
etc> Thanks!
etc> Chris
etc> 
etc> On 2018-03-14 10:54, Richard Levitte wrote:
etc> > Something here makes no sense at all...  you configure with
etc> > 'no-shared', and then get an apps/openssl that's linked with the
etc> > system shared libraries?
etc> >
etc> > In message <323c64fe-c3a7-0b93-a11e-46f743b999be at coderhacks.com> on
etc> > Tue, 13 Mar 2018 23:46:14 +0100, "etc at coderhacks.com"
etc> > <etc at coderhacks.com> said:
etc> >
etc> > etc> Hi!
etc> > etc>
etc> > etc> I put a vanilla OpenSSL in a local folder and compiled it.
etc> > etc>
etc> > etc> ./config no-shared
etc> > etc> make
etc> > etc>
etc> > etc> I will not do a "make install" because I will keep my distros
etc> > etc> installation.
etc> > etc> But Iwill use the vanilla for tests. So I need the binary as well
etc> > as
etc> > etc> the libs.
etc> > etc>
etc> > etc> After a ldd  I see that the apps/openssl as well as the libssl
etc> > and
etc> > etc> libcrypto use the systems OpenSSL-libs instead of the one I just
etc> > etc> compiled.
etc> > etc>
etc> > etc> Is there an option so the makefile will produce binaries out of
etc> > its
etc> > etc> own libs instead of the sytems?
etc> > etc>
etc> > etc> Thanks!
etc> > etc>
etc> > etc>
etc> > etc>
etc> > etc>
etc> 
etc> 


More information about the openssl-users mailing list