Solved

dependent module libcrypto.a could not be loaded

Posted on 2006-10-30
8
6,452 Views
Last Modified: 2013-11-17
Guys,

any clue?


/ssh-keygen -t rsa
exec(): 0509-036 Cannot load program ssh-keygen because of the following errors:
        0509-150   Dependent module libcrypto.a(libcrypto.so.0.9.7) could not be loaded.
        0509-022 Cannot load module libcrypto.a(libcrypto.so.0.9.7).
        0509-026 System error: A file or directory in the path name does not exist.
0
Comment
Question by:lomlom
  • 2
  • 2
  • 2
  • +1
8 Comments
 
LVL 14

Accepted Solution

by:
sjm_ee earned 100 total points
ID: 17845696
Which openssh package are you using? If you don't know ask the person who installed your machine.

Or try a "dump -H ssa-keygen" to find where ssa-keygen is expecting to look for libcrypto.a. Then try a "find /usr -name libcrypto.a" to see if you have it. Then check to see if these two overlap.
0
 

Author Comment

by:lomlom
ID: 17846280
I increased the points for you.

dump -H /usr/bin/ssh-keygen

/usr/bin/ssh-keygen:

                        ***Loader Section***
                      Loader Header Information
VERSION#         #SYMtableENT     #RELOCent        LENidSTR
0x00000001       0x000000b6       0x000001f2       0x00000084

#IMPfilID        OFFidSTR         LENstrTBL        OFFstrTBL
0x00000005       0x00002888       0x00000577       0x0000290c


                        ***Import File Strings***
INDEX  PATH                          BASE                MEMBER
0      /usr/lib:/lib:/opt/freeware/lib
1                                    libc.a              shr.o
2                                    libpthreads.a       shr_comm.o
3                                    libpthreads.a       shr_xpg5.o
4                                    libcrypto.a         libcrypto.so.0.9.7

Actually this file doesn't exist in the system? do you know what is the Lib freeware for this file?

ls -la /opt/freeware/lib/libcrypto.a
ls: 0653-341 The file /opt/freeware/lib/libcrypto.a does not exist.

find / -name "libcrypto.a" -print (Returned nothing?)  

I went to this web site but I wasn't sure which one has this file?

http://www.bullfreeware.com/

0
 
LVL 1

Expert Comment

by:hubtech
ID: 17867177
I'm pretty sure that libcrypto is a library of OpenSSL and I know that OpenSSL is a prerequisite for OpenSSH.  Either have the person who installed OpenSSH also install OpenSSL from the same resource or go to http://www6.software.ibm.com/dl/aixtbx/aixtbx-p (you've got to sign in - it's free to create an account) and get the OpenSSL libraries appropriate for you system and install them.

... hubtech
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 61

Expert Comment

by:gheist
ID: 17875819
aixpdslib is last place to get software for AIX.

get everyhing from one place - bullfreeware, or affinity toolkit.

basically you now are having problems with ssh needing openssl. with other two packaging sets that would cause no problems at all.
0
 
LVL 1

Expert Comment

by:hubtech
ID: 18037143
It's not clear whether the author has a pathing problem or whether they didn't satisfy prerequisites for the installation of the OpenSSH software but it's one of those two that is the resolution to their problem.  Without clarification from the author we cannot take it any further

... Hubtech
0
 
LVL 61

Expert Comment

by:gheist
ID: 18043551
All three answers  contribute to solution but asker went missing, and without further input (what exact SSH package he/she uses) there is no definite step-by-step answer available.
0
 

Author Comment

by:lomlom
ID: 18060464
Sorry, but the first one gets the points.
It helped me to track down the problem and fix it.

Thanks again guys.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now