LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-14-2011, 10:38 PM   #1
shyam16
LQ Newbie
 
Registered: Jun 2011
Posts: 3

Rep: Reputation: Disabled
Problem executing scp command: missing dependency libcrypto.a


Hi.

When i try to execute scp command:

scp -r /localhostdirectory username@remotehostservername:/remotehostdirectory

I get the following error

0509-036 Cannot load program /usr//bin/ssh because of the following errors:
0509-150 Dependent module /homepath/server/bin/libcrypto.a(libcrypto.so.0.9.8) could not be loaded.
0509-153 File /homepath/server/bin/libcrypto.a is not an archive or
the file could not be read properly.
0509-026 System error: Cannot run a file that does not have a valid format.

Last edited by shyam16; 06-15-2011 at 12:32 AM.
 
Old 06-14-2011, 10:42 PM   #2
crts
Senior Member
 
Registered: Jan 2010
Posts: 2,020

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
This is not urgent for any one of us. We are all volunteers here and demanding help 'ASAP' is considered rude.
Edit your title to something more descriptive.
 
Old 06-14-2011, 10:47 PM   #3
shyam16
LQ Newbie
 
Registered: Jun 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
ok but this is urgent for me!!!
 
0 members found this post helpful.
Old 06-14-2011, 11:15 PM   #4
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
Quote:
Originally Posted by shyam16 View Post
ok but this is urgent for me!!!
Yet, you haven't done as crts suggested and edited the title.
 
Old 06-15-2011, 12:33 AM   #5
shyam16
LQ Newbie
 
Registered: Jun 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
im not able to change the subject
 
Old 06-15-2011, 02:24 AM   #6
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Quote:
Originally Posted by shyam16 View Post
ok but this is urgent for me!!!
Not a valid reason to be so rude. As already told, we all here at LQ are volunteers. Urgency is related only to our own work or family matters, not to the LQ activity! If you want urgent help, pay for an Enterprise edition and demand for 24/7 online or phone support.

Regarding your issue, it's not clear if the problem is on the local server or the remote server. In both cases try to run the ldd command on the ssh executable to see what shared libraries are missing.
Code:
ldd /usr/bin/ssh
Then look for the package providing the missing files and install it. If you're not the owner of these machines, ask to the system administrator reporting the maximum amount of information you can provide and by asking kindly.

Last edited by colucix; 06-15-2011 at 02:26 AM.
 
Old 06-15-2011, 03:29 AM   #7
Genocide_Hoax
Member
 
Registered: Apr 2011
Distribution: OpenSuse 12.3 , Slackware 13.1 ; Centos 6.2 ; Fedora 14
Posts: 90

Rep: Reputation: 8
Quote:
Originally Posted by shyam16 View Post
Hi.

When i try to execute scp command:

scp -r /localhostdirectory username@remotehostservername:/remotehostdirectory

I get the following error

0509-036 Cannot load program /usr//bin/ssh because of the following errors:
0509-150 Dependent module /homepath/server/bin/libcrypto.a(libcrypto.so.0.9.8) could not be loaded.
0509-153 File /homepath/server/bin/libcrypto.a is not an archive or
the file could not be read properly.
0509-026 System error: Cannot run a file that does not have a valid format.

I suppose there is a conflict in the version of libcrypto. Kindly do the following and see if it works. Navigate yourself to
/homepath/server/bin/ and check the filename associated to libcrypto.so for example it might be libcrypto.so.0.9.7 instead of libcrypto.so.0.9.8 which is reqd for the command to execute if that is the case simply do the following
Code:
# ln -s libcrypto.so.0.9.7 libcrypto.so.0.9.8
 
  


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
scp does not work and gives the following error message: scp: FATAL: Executing ssh1 i akay Linux - Networking 16 09-28-2008 11:41 PM
Ntp dependency with libcrypto.so.4 smallbook Linux - Newbie 6 01-10-2008 07:47 PM
yum error: missing dependency problem brusel Red Hat 5 01-09-2008 11:23 AM
yum error: missing dependency problem brusel Linux - Enterprise 1 01-09-2008 05:19 AM
libcrypto.so.0 missing ziggie216 Linux - Software 2 11-10-2005 12:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:54 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