LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 11: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 01:32 AM.
 
Old 06-14-2011, 11:42 PM   #2
crts
Senior Member
 
Registered: Jan 2010
Posts: 1,606

Rep: Reputation: 448Reputation: 448Reputation: 448Reputation: 448Reputation: 448
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, 11: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-15-2011, 12:15 AM   #4
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
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, 01: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, 03:24 AM   #6
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
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 03:26 AM.
 
Old 06-15-2011, 04: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-29-2008 12:41 AM
Ntp dependency with libcrypto.so.4 smallbook Linux - Newbie 6 01-10-2008 08:47 PM
yum error: missing dependency problem brusel Red Hat 5 01-09-2008 12:23 PM
yum error: missing dependency problem brusel Linux - Enterprise 1 01-09-2008 06:19 AM
libcrypto.so.0 missing ziggie216 Linux - Software 2 11-10-2005 01:06 AM


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