Solved

dependent module libcrypto.a could not be loaded

Posted on 2006-10-30
8
6,576 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 62

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 62

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

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…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
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…

803 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