Hello.
I work for an IBM bussiness partner, recently a customer asked for help with some curl errors, basically he had this one:
#curl https://api.dtes.mh.gob.sv/fesv/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(libcrypto.so.1.1) could not be loaded.
0509-152 Member libcrypto.so.1.1 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.
So I looked at /opt/freeware/lib64 and libcurl.a is present and the same for /opt/freeware/lib/ libcrypto.a appears to be present. So I realized that this environment only had YUM installed and so I decided to install DNF with -y option and then tried to update curl with DNF, but i keep getting some errors:
# dnf search curl
Traceback (most recent call last):
File "/opt/freeware/bin/dnf", line 57, in <module>
from dnf.cli import main
File "/opt/freeware/lib/python3.9/site-packages/dnf/__init__.py", line 32, in <module>
import dnf.base
File "/opt/freeware/lib/python3.9/site-packages/dnf/base.py", line 29, in <module>
import libdnf.transaction
File "/opt/freeware/lib/python3.9/site-packages/libdnf/__init__.py", line 3, in <module>
from . import common_types
File "/opt/freeware/lib/python3.9/site-packages/libdnf/common_types.py", line 13, in <module>
from . import _common_types
ImportError: 0509-022 Cannot load module /opt/freeware/lib/libdnf.a(libdnf.so.2).
0509-150 Dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.1) could not be loaded.
0509-152 Member libcrypto.so.1.1 is not found in archive
0509-022 Cannot load module /opt/freeware/lib/python3.9/site-packages/libdnf/_common_types.so.
0509-150 Dependent module /opt/freeware/lib/libdnf.a(libdnf.so.2) could not be loaded.
Has anyone an idea of what is causing this error?
Best Regards.
------------------------------
Amilcar Zepeda
------------------------------
#AIXOpenSource