LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 09-05-2019, 03:55 AM   #1
jnagaraj
LQ Newbie
 
Registered: Jun 2019
Posts: 6
Blog Entries: 1

Rep: Reputation: Disabled
Angry missing libsh.so files


Hi Team,

I have one question which is a stupid one.

Would like to know if any of library files are missing. How do I rectify the issue?

libssh.so is missing
libcrypto.so is missing.

How do I identify which package it belongs to?

I have used following commands:
ldd
ldd $(which ssh)
ldconfig -v

When this occurred in production server i will be fully tension nothing works around at that point?

Could you please share step by step process by fixing this issue?

Thanks,
Nagaraj
 
Old 09-05-2019, 05:30 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.

Please do a search :
Code:
# yum provides */libssh.so
# yum provides */libcrypto.so
→ The reply is `openssl-develī : # yum install openssl-devel


-
 
Old 09-05-2019, 06:37 AM   #3
jnagaraj
LQ Newbie
 
Registered: Jun 2019
Posts: 6

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Hi,

Yes, we can search in that way also.
Still we are unable to fix the issue for library files.
Even after the installation of openssl-devel has been done.

Is there any specific step by step process to be followed.
 
Old 09-05-2019, 08:11 AM   #4
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by jnagaraj View Post
Hi,

Yes, we can search in that way also.
Still we are unable to fix the issue for library files.
Even after the installation of openssl-devel has been done.

Is there any specific step by step process to be followed.
Presumably since you're posting in the CentOS forum, you're using CentOS? If so, which version?

Have you checked if the files exist? As it maybe that the relevant symlinks aren't there, or are otherwise incorrect.

What output do the following commands give you (post it in CODE tags) ?

Code:
locate libssh.so
locate libcrypto.so
Because libcrypto for one should be installed by default in CentOS 7.x
 
Old 09-05-2019, 08:54 AM   #5
jnagaraj
LQ Newbie
 
Registered: Jun 2019
Posts: 6

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Hi,

Sorry I wont take much time.
Once we type the command
"locate libssh.so
locate libcrypto.so"

how do i link them in production server?
Would you please let me know the step by step process of linking the library files.
Or is there URL to refer for the same.
 
Old 09-05-2019, 09:32 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #5.
Quote:
how do i link them
Not quite clear what you mean. The package openssl-devel is the links :
Code:
/usr/lib64/libcrypto.so -> libcrypto.so.1.0.2k 
/usr/lib64/libssl.so -> libssl.so.1.0.2k
... and the headers for development : /usr/include/openssl/*.h


-

Last edited by knudfl; 09-05-2019 at 09:34 AM.
 
Old 09-05-2019, 09:40 AM   #7
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by jnagaraj View Post
Hi,

Sorry I wont take much time.
Once we type the command
"locate libssh.so
locate libcrypto.so"

how do i link them in production server?
Would you please let me know the step by step process of linking the library files.
Or is there URL to refer for the same.
You need to answer the questions asked and post the output requested if you want help. As I did say that it's possible that maybe the problem. But unless you provide the information requested, how do you expect us to be able to help ?
 
Old 09-06-2019, 01:22 AM   #8
jnagaraj
LQ Newbie
 
Registered: Jun 2019
Posts: 6

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Hi,

Thanks for the information.

Here the library file itself is missing and there is no net connection for the same for installing the openssl-devel package
libssh.so
the libssh file is not been stored any of the library files, then how do we get it?
Do we need to download openssl-devel package from google?
if yes, how the version gets matches with libssh?
 
Old 09-06-2019, 01:37 AM   #9
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,842

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
You need to answer the questions asked and post the output requested if you want help.
You need to download the packages belong to the actual OS. It is usually documented on the site of the distro.
 
Old 09-06-2019, 01:43 AM   #10
jnagaraj
LQ Newbie
 
Registered: Jun 2019
Posts: 6

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Am extermerly sorry for that.

finding from locate command there is no such file.
the error: library file is missing libssh.so
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a large tar ile form a sequence of small tar files and one files is missing jyunker Linux - Newbie 4 03-10-2015 02:56 PM
Help listing installed files and searching for missing files mightymouse2045 Linux - General 3 10-09-2013 07:57 PM
mv files, and files missing cosbeta Linux - Newbie 3 04-01-2013 07:01 AM
Linux header files missing and v4l files unable to compile szutshi Linux - Newbie 5 09-13-2011 02:00 PM
Problem running UT Demo, Xlib missing on 0.0.. gldrv missing etc. RHLinuxGUY Linux - Games 3 05-21-2006 11:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 09:29 PM.

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