Originally posted by: Hussein_Shalan
Hi All,
I just installed Curl from the AIX Tool BOX and when I run it I get this error:
root@xx1:/root # curl
exec(): 0509-036 Cannot load program curl because of the following errors:
0509-022 Cannot load module /opt/freeware/lib/libldap.a(libldap-2.4.so.2).
0509-150 Dependent module /usr/lib/libcrypto.a(libcrypto.so.1.0.1) could not be loaded.
0509-152 Member libcrypto.so.1.0.1 is not found in archive
0509-022 Cannot load module curl_64.
0509-150 Dependent module /opt/freeware/lib/libldap.a(libldap-2.4.so.2) could not be loaded.
0509-022 Cannot load module
I'm not an expert with RPMs under AIX but I set the LIBPATH to
LIBPATH=/usr/lib:/lib:/usr/bin:/opt/freeware/lib:/opt/freeware/lib64
ldd /usr/bin/curl
/usr/bin/curl needs:
/usr/lib/libc.a(shr_64.o)
/usr/lib/libpthreads.a(shr_xpg5_64.o)
/usr/lib/libcurl.a(libcurl.so.4)
/usr/lib/libz.a(libz.so.1)
/usr/lib/libssh2.a(libssh2.so.1)
/opt/freeware/lib/libldap.a(libldap-2.4.so.2)
/opt/freeware/lib/liblber.a(liblber-2.4.so.2)
/unix
/usr/lib/libcrypt.a(shr_64.o)
/opt/freeware/lib/libgcc_s.a(shr.o)
/usr/lib/libc.a(shr.o)
/usr/lib/libcrypto.a(libcrypto.so)
/usr/lib/libpthreads.a(shr_xpg5.o)
/usr/lib/libssl.a(libssl.so)
/usr/lib/libs.a(shr.o)
/usr/lib/libcrypto.a(libcrypto.so.1.0.1)
ar: 0707-109 Member name libcrypto.so.1.0.1 does not exist.
dump: /tmp/tmpdir4195958/extract/libcrypto.so.1.0.1: 0654-106 Cannot open the specified file.
/usr/lib/libssl.a(libssl.so.1.0.1)
ar: 0707-109 Member name libssl.so.1.0.1 does not exist.
dump: /tmp/tmpdir4195958/extract/libssl.so.1.0.1: 0654-106 Cannot open the specified file.
/usr/lib/libcrypt.a(shr.o)
/usr/lib/libpthreads.a(shr_comm.o)
/usr/lib/libcrypto.a(libcrypto.so.1.0.0)
You have mail in /usr/spool/mail/root
But that could not resolve the issue, would you please assist?
Thanks
#AIX-Forum