Yes, I can rebuild. But I'll have to look at what I had linked to before, and how the members were named before, and understand what is going on. My initial check (which follows) does not show anything failing. -- Skip to bottom for my questions.
These are the contents with openssl.base.1.0.2.1000
root@x065:[/data/prj/aixtools/curl/curl-7.67.0]ar tv /usr/lib/libcrypto.a
rwxr-xr-x 537912/767508 3042942 Oct 18 11:38 2016 libcrypto.so
rwxr-xr-x 537912/767508 3042942 Oct 18 11:38 2016 libcrypto.so.1.0.0
rwxr-xr-x 537912/767508 2257647 Oct 18 11:39 2016 libcrypto.so.0.9.8
root@x065:[/data/prj/aixtools/curl/curl-7.67.0]ar tv /usr/lib/libssl.a
rwxr-xr-x 537912/767508 726474 Oct 18 11:38 2016 libssl.so
rwxr-xr-x 537912/767508 726474 Oct 18 11:38 2016 libssl.so.1.0.0
rwxr-xr-x 537912/767508 510610 Oct 18 11:39 2016 libssl.so.0.9.8
And for
root@x067:[/]lslpp -L | grep openssl
openssl.base 1.0.2.1801 C F Open Secure Socket Layer
root@x067:[/]ar tv /usr/lib/libcrypto.a
rwxr-xr-x 0/0 3061022 Jun 03 11:01 2019 libcrypto.so
rwxr-xr-x 0/0 2186744 Jun 03 11:01 2019 libcrypto.so.0.9.8
rwxr-xr-x 0/0 3061022 Jun 03 11:01 2019 libcrypto.so.1.0.0
rwxr-xr-x 0/0 3061022 Jun 03 10:57 2019 libcrypto.so.1.0.2
root@x067:[/]ar tv /usr/lib/libssl.a
rwxr-xr-x 0/0 730481 Jun 03 11:01 2019 libssl.so
rwxr-xr-x 0/0 510766 Jun 03 11:01 2019 libssl.so.0.9.8
rwxr-xr-x 0/0 730481 Jun 03 11:01 2019 libssl.so.1.0.0
rwxr-xr-x 0/0 730481 Jun 03 10:57 2019 libssl.so.1.0.2
So, in any case, I see that IBM has changed the versions without a number to be the ABI 1.0.2 - and that is probably what is breaking things. (i.e., had I linked against archive members libssl.so.1.0.0 and libcrypto.so.1.0.0 - this would be a non-issue).
Testing on my VM with openssl-1.0.2.1801 compared to openssl-1.0.2.1000 installed:
Seems the dl load of libraries is handled on it's own (see difference in the libcrypto members located)
root@x067:[/data/prj/aixtools/curl/curl-7.67.0]LIBPATH=./lib/.libs ldd ./src/.libs/curl
./src/.libs/curl needs:
/usr/lib/libc.a(shr.o)
/usr/lib/libpthreads.a(shr_xpg5.o)
./lib/.libs/libcurl.a(libcurl.so.4)
/unix
/usr/lib/libcrypt.a(shr.o)
/usr/lib/libpthreads.a(shr_comm.o)
/usr/lib/libcrypto.a(libcrypto.so)
/usr/lib/libssl.a(libssl.so)
/usr/lib/libz.a(libz.so.1)
/usr/lib/libcrypto.a(libcrypto.so.1.0.2)
versus openssl.base.1.0.2.1000
root@x065:[/data/prj/aixtools/curl/curl-7.67.0]LIBPATH=./lib/.libs ldd ./src/.libs/curl
./src/.libs/curl needs:
/usr/lib/libc.a(shr.o)
/usr/lib/libpthreads.a(shr_xpg5.o)
./lib/.libs/libcurl.a(libcurl.so.4)
/unix
/usr/lib/libcrypt.a(shr.o)
/usr/lib/libpthreads.a(shr_comm.o)
/usr/lib/libcrypto.a(libcrypto.so)
/usr/lib/libssl.a(libssl.so)
/usr/lib/libz.a(libz.so.1)
/usr/lib/libcrypto.a(libcrypto.so.1.0.0)
So, now I have this:
lslpp -L openssl.base
Fileset Level State Type Description (Uninstaller)
----------------------------------------------------------------------------
openssl.base 1.0.2.2000 ? F Open Secure Socket Layer
...
root@x067:[/]ar tv /usr/lib/libcrypto.a
rwxr-xr-x 0/0 3068157 Oct 31 08:06 2019 libcrypto.so
rwxr-xr-x 0/0 2186744 Oct 31 08:06 2019 libcrypto.so.0.9.8
rwxr-xr-x 0/0 3068157 Oct 31 08:06 2019 libcrypto.so.1.0.0
rwxr-xr-x 0/0 3068157 Oct 31 07:46 2019 libcrypto.so.1.0.2
root@x067:[/]ar tv /usr/lib/libssl.a
rwxr-xr-x 0/0 730860 Oct 31 08:06 2019 libssl.so
rwxr-xr-x 0/0 510766 Oct 31 08:06 2019 libssl.so.0.9.8
rwxr-xr-x 0/0 730860 Oct 31 08:06 2019 libssl.so.1.0.0
rwxr-xr-x 0/0 730860 Oct 31 07:46 2019 libssl.so.1.0.2
root@x067:[/data/prj/aixtools/curl/curl-7.67.0]LIBPATH=./lib/.libs ldd ./src/.libs/curl
./src/.libs/curl needs:
/usr/lib/libc.a(shr.o)
/usr/lib/libpthreads.a(shr_xpg5.o)
./lib/.libs/libcurl.a(libcurl.so.4)
/unix
/usr/lib/libcrypt.a(shr.o)
/usr/lib/libpthreads.a(shr_comm.o)
/usr/lib/libcrypto.a(libcrypto.so)
/usr/lib/libssl.a(libssl.so)
/usr/lib/libz.a(libz.so.1)
/usr/lib/libcrypto.a(libcrypto.so.1.0.2)
root@x067:[/data/prj/aixtools/curl/curl-7.67.0]LIBPATH=./lib/.libs ./src/.libs/curl -V
curl 7.67.0 (powerpc-ibm-aix5.3.7.0) libcurl/7.67.0 OpenSSL/1.0.2t zlib/1.2.3 libssh2/1.9.0
Release-Date: 2019-11-06
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS HTTPS-proxy IPv6 Largefile libz NTLM NTLM_WB SSL TLS-SRP UnixSockets
In short, while I do not doubt you have an issue caused, in part, by the latest packaging of openssl.base I cannot see how my packaging is affected by it. I'll need more input.
Question: are you also using OSS packages from any of BULL, AIX ToolBox and/or Michael Perzl? One of the reasons I package as installp is to avoid issues caused by the interaction of the RPM package manager and the installp manager.
p.s. If there are things you need to keep private, send me a PM, and we can discuss how to share delicate information.