Originally posted by: COApowersw
AIX LPAR, oslevel -s:7100-03-03-1415
Installed curl-7.61.0-1 with no dependency errors, but when I execute it, I received these errors:
# curl -vki --ssl-allow-beast https://at.gov/financeonline/account_services/registration/str_hotel/update_payment_status>
exec(): 0509-036 Cannot load program curl because of the following errors:
0509-022 Cannot load module /opt/freeware/lib64/libcurl.a(libcurl.so.4).
0509-150 Dependent module /opt/freeware/lib/libcrypto.a(libcrypto64.so) could not be loaded.
0509-152 Member libcrypto64.so is not found in archive
0509-022 Cannot load module curl_64.
0509-150 Dependent module /opt/freeware/lib64/libcurl.a(libcurl.so.4) could not be loaded.
0509-022 Cannot load module .
There is no "libcrypto64" RPM install package, and installing the 'libgcrypt-1.8.2-1' RPM package has no effect on the error.
From basic research on Google, the "libcrypto64" library is supposed to be contained in the 'AIX-rpm-7.1.2.15-1' package, as shown here:
# rpm -q AIX-rpm-7.1.2.15-1 --provides | grep cry
libcrypt.a(shr.o)
libcrypt.a(shr_64.o)
libcrypto.a(libcrypto.so)
libcrypto.a(libcrypto.so.0.9.8)
libcrypto.a(libcrypto.so.1.0.0)
libcrypto.a(
libcrypto64.so)
libcrypto.a(
libcrypto64.so.0.9.8)
libcrypto.a(
libcrypto64.so.1.0.0)
libcrypto_compat.a(libcrypto.so.0.9.8)
libcrypto_compat.a(
libcrypto64.so.0.9.8)
libxcrypt.a(shr.o)
libxcrypt.a(shr_64.o)
liby4crypt.a(shr.o)
liby4crypt.a(shr_64.o)
However, it appears that curl-7.61.0-1 is unable to *see* those libraries? Is this as something as simple as just updating my 'AIX-rpm-7.1.2.15-1' package to a higher level on the system?
Further research seems to indicate that I have to create "libcrypto64" symbolic links in the /opt/freeware/lib64 and /usr/lib directories on the system?
# find /opt/freeware -type f -name "libcrypto*"
/opt/freeware/lib/libcrypto.a
/opt/freeware/lib/libcrypto.so.0.9.7
/opt/freeware/lib/libcrypto.so.0.9.8
/opt/freeware/lib/libcrypto.so.1.0.0
/opt/freeware/lib/libcrypto.so.1.0.1
/opt/freeware/lib64/libcrypto.so.0.9.7
/opt/freeware/lib64/libcrypto.so.0.9.8
/opt/freeware/lib64/libcrypto.so.1.0.0
/opt/freeware/lib64/libcrypto.so.1.0.1
# find /usr/lib -type f -name "libcrypto*"
/usr/lib/libcrypto.a
/usr/lib/libcrypto_compat.a
/usr/lib/nsr/lib64/cst/libcryptocme.sig
/usr/lib/nsr/lib64/cst/libcryptocme.so
Any assistance in debugging/rectifying this issue would be appreciated since IBM AIX Support washes their hands of the problem with the "AS IS" boilerplate...