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

Re: [cobalt-users] opensll - static and dynamic linking



cr> Date: Mon, 05 Aug 2002 10:44:20 +0000
cr> From: cobalt raq4


cr> I have updated our openssl for dynamically linked apps such
cr> as stunnel on our box. I have been doing my homework and
cr> would dearly like some verification from one of the guru's
cr> out there that the following is correct.

So libcrypto and libssl now are symlinked to 0.9.6e?


cr> OpenSSH and Apache = Statically linked, therefore these need
cr> recompiling from new versions which include the OpenSSL
cr> libaries.

	ldd /path/to/binary

tells what libraries a file uses.  If you see libssl and
libcrypto, it's dynamically linking to OpenSSL.

When something is statically linked to OpenSSL,

	strings /path/to/binary | grep OpenSSL

will tell you the version of OpenSSL (in addition to displaying
some other cruft).  This works for OpenSSL, but is not universal;
it works because OpenSSL stores the version number when compiled.


HTH,
Eddy
--
Brotsman & Dreger, Inc. - EverQuick Internet Division
Bandwidth, consulting, e-commerce, hosting, and network building
Phone: +1 (785) 865-5885 Lawrence and [inter]national
Phone: +1 (316) 794-8922 Wichita

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Date: Mon, 21 May 2001 11:23:58 +0000 (GMT)
From: A Trap <blacklist@xxxxxxxxx>
To: blacklist@xxxxxxxxx
Subject: Please ignore this portion of my mail signature.

These last few lines are a trap for address-harvesting spambots.
Do NOT send mail to <blacklist@xxxxxxxxx>, or you are likely to
be blocked.