You have wrong OpenSSL library.
Check that you have openssl rpm installed:
rpm -q openssl
If it is installed, remove it
If it is not installed, check which packages provide /opt/freeware/lib/libcrypto.a:
rpm -qf /opt/freeware/lib/libcrypto.a
If you found them, uninstall the packages.
If you don't find them, remove wrong OpenSSL libraries from /opt/freeware/lib and use IBM OpenSSL.
------------------------------
Andrey Klyachkin
https://www.power-devops.com------------------------------
Original Message:
Sent: Tue December 12, 2023 11:17 AM
From: Ramesh Ganesan
Subject: Curl cannot load program Symbol resolution failed for /opt/freeware/lib/libssh2.a(libssh2.so.1
While running curl, getting below error, Could someone please help on this issue.
curl
exec(): 0509-036 Cannot load program curl because of the following errors:
0509-130 Symbol resolution failed for /opt/freeware/lib/libssh2.a(libssh2.so.1) because:
0509-136 Symbol strcmp (number 40) is not exported from
dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.1).
0509-136 Symbol memmove (number 55) is not exported from
dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.1).
0509-136 Symbol strncpy (number 64) is not exported from
dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.1).
0509-136 Symbol bcopy (number 109) is not exported from
dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.1).
0509-192 Examine .loader section symbols with the
'dump -Tv' command.
------------------------------
Ramesh Ganesan
------------------------------