[app61cnhx_new:root:/home/root:] rpm -qa|grep -i openssl
openssl-1.0.2n-1.ppc
[app61cnhx_new:root:/home/root:] echo $LIBPATH
/usr/lib:/lib:/usr/bin:/opt/freeware/lib:/opt/freeware/lib64
[app61cnhx_new:root:/home/root:]
This is Websphere server and there is a chance openssl package might be using by the application. What should be done in this case?
Curl status for root :
==================
[app61cnhx_new:root:/ML/curl:] curl --version
curl 7.52.1 (powerpc-ibm-aix6.1.8.0) libcurl/7.61.0 OpenSSL/1.0.2r zlib/1.2.11 libssh2/1.8.0
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP UnixSockets HTTPS-proxy
[app61cnhx_new:root:/ML/curl:] exit
Curl status for normal user :
=====================
$ curl --version
Could not load program curl:
Could not load module /usr/lib/libcurl.a(libcurl.so.4).
Dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so) could not be loaded.
Member libcrypto.so is not found in archive
Could not load module curl.
Dependent module /usr/lib/libcurl.a(libcurl.so.4) could not be loaded.
Could not load module .
------------------------------
Ayoob .
------------------------------
Original Message:
Sent: Fri August 28, 2020 02:38 AM
From: SANKET RATHI
Subject: curl and wget are working only for root but not for other ids
Do you have openssl rpm also installed on system ?
You can verify by
# rpm -qa | grep openssl
We do not encourage to use openssl rpm with AIX toolbox packages.
Also I think you are saying that it is working with root user but not with non-root user.
Can you check the LIBPATH for root and non-root user ?
# echo $LIBPATH
If for non-root LIBPATH has /opt/freeware/lib path ser before that /usr/lib then there is problems.
If any one of the above thing is true then solution is
Either remove openssl rpm or do not have /opt/freeware/lib path in LIBPATH.
If LIBPATH has to be set for some reason then you should uninstall openssl rpm from system for curl to work.
------------------------------
SANKET RATHI
Original Message:
Sent: Thu August 27, 2020 10:47 AM
From: Ayoob .
Subject: curl and wget are working only for root but not for other ids
[app61cnhx_new:root:/home/root:] curl --version
curl 7.52.1 (powerpc-ibm-aix6.1.8.0) libcurl/7.61.0 OpenSSL/1.0.2r zlib/1.2.11 libssh2/1.8.0
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP UnixSockets HTTPS-proxy
[app61cnhx_new:root:/home/root:] exit
$ curl --version
Could not load program curl:
Could not load module /usr/lib/libcurl.a(libcurl.so.4).
Dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so) could not be loaded.
Member libcrypto.so is not found in archive
Could not load module curl.
Dependent module /usr/lib/libcurl.a(libcurl.so.4) could not be loaded.
Could not load module .
$
------------------------------
Ayoob .
------------------------------
#AIXOpenSource