Hello Sangamesh,
I have installed cyrus-sasl package as well as their dependency db. But still getting same message.
root@sasmna300t:/# rpm -qa|grep -i cyrus
cyrus-sasl-2.1.28-1.ppc
root@sasmna300t:/# rpm -qa|grep -i db
db-5.3.28-1.ppc
root@sasmna300t:/# curl
exec(): 0509-036 Cannot load program curl because of the following errors:
0509-022 Cannot load module /opt/freeware/lib64/libldap.a(libldap-2.4.so.2).
0509-150 Dependent module /opt/freeware/lib64/libsasl2.a could not be loaded.
0509-022 Cannot load module /opt/freeware/lib64/libsasl2.a.
0509-026 System error: Cannot run a file that does not have a valid format.
0509-022 Cannot load module curl_64.
0509-150 Dependent module /opt/freeware/lib64/libldap.a(libldap-2.4.so.2) could not be loaded.
0509-022 Cannot load module .
------------------------------
Manoj Kumar
------------------------------
Original Message:
Sent: Fri July 01, 2022 12:28 PM
From: SANGAMESH MALLAYYA
Subject: Curl error
Hi Manoj,
Sorry, i overlooked the error.
It's because of missing cyrus-sasl library.
------------------------------
SANGAMESH
Original Message:
Sent: Fri July 01, 2022 12:00 PM
From: Manoj Kumar
Subject: Curl error
Thanks Sangamesh. We have run the command but nothing is coming here. We have installed the given curl version.
root@sasmna300t:/# rpm -V libssh2
root@sasmna300t:/#
root@sasmna300t:/# rpm -qa|grep -i curl
curl-7.64.0-1.ppc
Regards
Manoj
------------------------------
Manoj Kumar
Original Message:
Sent: Fri July 01, 2022 10:47 AM
From: SANGAMESH MALLAYYA
Subject: Curl error
Hi Manoj,
It seems your libssh2 is broken and missing the required library.
You can verify this with "rpm -V libssh2" and may need to reinstall libssh2.
Also, looks like you have older curl version installed as we don't have /usr/bin/curl in latest updates.
------------------------------
SANGAMESH
Original Message:
Sent: Fri July 01, 2022 09:24 AM
From: Manoj Kumar
Subject: Curl error
Hi Team,
I am getting error after curl installation. Could you please check and let me know if I am missing something. OS version is 7.1
root@server:/# curl -version
exec(): 0509-036 Cannot load program curl because of the following errors:
0509-022 Cannot load module /opt/freeware/lib64/libldap.a(libldap-2.4.so.2).
0509-150 Dependent module /opt/freeware/lib64/libsasl2.a could not be loaded.
0509-022 Cannot load module /opt/freeware/lib64/libsasl2.a.
0509-026 System error: A file or directory in the path name does not exist.
0509-022 Cannot load module curl_64.
0509-150 Dependent module /opt/freeware/lib64/libldap.a(libldap-2.4.so.2) could not be loaded.
0509-022 Cannot load module .
root@server:/# which curl
/usr/bin/curl
Regards
Manoj
------------------------------
Manoj Kumar
------------------------------
#AIXOpenSource