LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 08-09-2012, 06:18 PM   #1
pbidwell
LQ Newbie
 
Registered: Aug 2012
Posts: 2

Rep: Reputation: Disabled
OpenSSL version and libssl.so/libcrypto.so version mismatch


Hi all,

I'm cross-compiling the latest (1.0.1c) version of OpenSSL. The entire process goes well, but for some reason, the two lib files come out as libcrypto.so.1.0.0 and libssl.so.1.0.0. The new version of OpenSSL seems to run well also with no real problems.

I grabbed another virgin copy of the 1.0.1c OpenSSL tarball, and it seems that the SHLIB_VERSION numbers are hardcoded into Makefile.org as 1.0.0.

Questions:

1. What is the reason for this? I've looked through the provided documentation, but I do not see any discussion of the library version numbers being different.

2. How can I change it? It has the potential to confuse the other engineers I work with. I tried to change the values in Makefile.org, but when I try to see the SSL and SSH version, I get the typical "OpenSSL version mismatch. Built against XXXXXX, you have YYYYYYY".

Thanks!
 
Old 08-11-2012, 04:18 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,276

Rep: Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664
Welcome to LQ.

All versions, openssl-1.0.x.x : The 'names' are lib***.so.1.0.0

Why would you want to change the name ?


.

Last edited by knudfl; 08-11-2012 at 04:20 AM.
 
Old 08-11-2012, 11:50 AM   #3
pbidwell
LQ Newbie
 
Registered: Aug 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks for the quick reply.

We are upgrading from version 1.0.0 to 1.0.1, and the fact that the library names don't change with the OpenSSL upgrade just makes it a bit more difficult to tell if we are using the new libs or not.

If this is simply the way OpenSSL does it, I won't bother with trying to change it.

Thanks again, marking as solved.
 
Old 08-11-2012, 12:34 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,276

Rep: Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664
Well, it wouldn't be very convenient,
if the 'so name' changed for every update.

Then you'd also have to recompile the "300" libraries
and applications depending on libssl.so.*, libcrypto.so.*.

.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Starting sshd: OpenSSL version mismatch. Built against 10000003, you have 90802f sanjay87 Linux - Server 3 06-01-2012 10:20 AM
ABI version mismatch with server version rjpilla Ubuntu 1 10-03-2006 11:03 PM
help, gcc version and kernel version mismatch akanitkar Linux - Newbie 1 05-06-2006 08:02 AM
Kernel version Source Version mismatch after recompile chuckleberry Linux - Software 1 06-20-2005 07:37 PM
OpenSSL version mismatch. Built against 90604f, you have 90702f...? Tarts Slackware 2 10-24-2003 05:04 PM


All times are GMT -5. The time now is 02:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration