LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-20-2012, 03:47 PM   #1
Iyyappan
Member
 
Registered: Dec 2008
Location: Chennai, India
Distribution: CentOS 5, SLES 11
Posts: 245

Rep: Reputation: 4
libssl.so.10: cannot open shared object file: No such file or directory


My OS is Amazon Linux AMI release 2012.03

I was trying to install mysql 5.0 in Amazon cloud machine.I faced dependency issue with
libcrypto.so.6()(64bit) is needed by mysql-5.0.77-4.el5_6.6.x86_64
libssl.so.6()(64bit) is needed by mysql-5.0.77-4.el5_6.6.x86_64
perl(DBI) is needed by mysql-5.0.77-4.el5_6.6.x86_64

Since the current version was different,I removed openssl098e-0.9.8e-17.8.amzn1.i686 and openssl-1.0.0j-1.43.amzn1.x86_64 and prepared to install another version. But now, yum is not working because of that. And also I am not able to scp or ssh this servers. OS is custom built in Amazon Cloud. I receive the follow error while using yum

There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

libssl.so.10: cannot open shared object file: No such file or directory


And when I type ssh -V I received
# ssh -V
ssh: error while loading shared libraries: libcrypto.so.10: cannot open shared object file: No such file or directory.

Kindly help. The only good thing is I am still inside that server.

Last edited by Iyyappan; 07-20-2012 at 03:52 PM.
 
Old 07-20-2012, 04:02 PM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
Well you need to get openssl installed again...


Code:
wget ftp://rpmfind.net/linux/fedora/linux/releases/16/Everything/x86_64/os/Packages/openssl-1.0.0e-1.fc16.x86_64.rpm

rpm -Ivh ./openssl-1.0.0e-1.fc16.x86_64.rpm
That is the fedora core 16 RPM which should work with your amazon linux distro.
 
Old 07-20-2012, 04:04 PM   #3
Iyyappan
Member
 
Registered: Dec 2008
Location: Chennai, India
Distribution: CentOS 5, SLES 11
Posts: 245

Original Poster
Rep: Reputation: 4
I receive this error when I use wget
wget: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or director

But I have openssl-0.9.8e-22.el5_8.4.x86_64.rpm, But that i receive error

rpm -ivh openssl-0.9.8e-22.el5_8.4.x86_64.rpm
warning: openssl-0.9.8e-22.el5_8.4.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY
Preparing... ########################################### [100%]
file /etc/pki/tls/certs/ca-bundle.crt from install of openssl-0.9.8e-22.el5_8.4.x86_64 conflicts with file from package ca-certificates-2010.63-3.7.amzn1.noarch

Last edited by Iyyappan; 07-20-2012 at 04:06 PM.
 
Old 07-20-2012, 04:30 PM   #4
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
Can amazon support provide you with their RPM of openssl? Thats the only thing I can think of to suggest besides a re-provision of the server.
 
Old 07-20-2012, 05:07 PM   #5
whizzit
Member
 
Registered: Aug 2004
Location: UK
Distribution: Gentoo, OpenBSD, Debian, FreeBSD, RHEL, CentOS
Posts: 65

Rep: Reputation: 24
Quote:
Originally Posted by Kustom42 View Post
Can amazon support provide you with their RPM of openssl?
IMO, this is the best option for a repair.

@Iyyappan: Mixing up openssl packages is going to leave the system in an inconsistent state. Sure. it may work but given that this is a database server - do you really want to trust a repair?

What repo files are in /etc/yum.repo.d/ ? That should give you a repository URL you can browse to from another system. With a URL you might be able to rpm http:// directly from the Amazon repo to install the correct openssl packages.

Quote:
Originally Posted by Kustom42 View Post
Thats the only thing I can think of to suggest besides a re-provision of the server.
+1

@Iyyappan: Time and confidence in the system. Looks like the server is only part built anyway. Re-provisioning will be quicker and you get a system back to a solid state.
 
Old 07-20-2012, 05:19 PM   #6
Iyyappan
Member
 
Registered: Dec 2008
Location: Chennai, India
Distribution: CentOS 5, SLES 11
Posts: 245

Original Poster
Rep: Reputation: 4
I lost connection to that server too. Need to communicate to them only.
 
  


Reply



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] ??? Error: libXp.so.6: cannot open shared object file: No such file or directory castles Linux - Newbie 9 03-26-2018 04:31 AM
[SOLVED] libssl.so.10: cannot open shared object file: No such file or directory sanjay87 Linux - Server 1 04-27-2012 12:14 AM
libssl.so.0.9.7: cannot open shared object file mr.sambo Linux - Kernel 2 12-03-2009 11:59 AM
cannot open shared object file: No such file or directory (0) SQLSTATE=00000?? suliman_shah Programming 3 08-23-2007 01:02 PM
libssl.so.5: cannot open shared object file chandramani Linux - Server 2 03-15-2007 10:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:06 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
Open Source Consulting | Domain Registration