Link to home
Start Free TrialLog in
Avatar of lomlom
lomlom

asked on

dependent module libcrypto.a could not be loaded

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.
ASKER CERTIFIED SOLUTION
Avatar of sjm_ee
sjm_ee
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lomlom
lomlom

ASKER

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/

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
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.
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
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.
Avatar of lomlom

ASKER

Sorry, but the first one gets the points.
It helped me to track down the problem and fix it.

Thanks again guys.