These are not deprecated functions/symbols. They are needed. Probably this could be a bug with 3.0.7.1000 version. Try 3.0.7.1001 and check.
Original Message:
Sent: Mon April 29, 2024 09:15 AM
From: C- -T
Subject: toolbox perl: Crypt::SSLeay build fails
should...yes..but in reality not unfortunatly...
root@aixtest01: /tmp # ar -X64 -xv libssl.ax - libssl.sox - libssl.so.1.0.0x - libssl.so.1.0.2x - libssl.so.1.1x - libssl.so.3x - libssl64.sox - libssl64.so.1.0.0root@aixtest01: /tmp # dump -X64 -Tov libssl.so.3 | grep TLS[482] 0x11000fc08 .data EXP DS SECdef [noIMid] DTLS_get_data_mtu[483] 0x11000fc20 .data EXP DS SECdef [noIMid] DTLSv1_listen[484] 0x11000fc38 .data EXP DS SECdef [noIMid] DTLS_set_timer_cb[494] 0x11000fd28 .data EXP DS SECdef [noIMid] TLS_method[495] 0x11000fd40 .data EXP DS SECdef [noIMid] TLS_server_method[496] 0x11000fd58 .data EXP DS SECdef [noIMid] TLS_client_method[497] 0x11000fd70 .data EXP DS SECdef [noIMid] DTLS_method[498] 0x11000fd88 .data EXP DS SECdef [noIMid] DTLS_server_method[499] 0x11000fda0 .data EXP DS SECdef [noIMid] DTLS_client_method
on this lpar is a slightly older openssl version...
root@aixtest01: /tmp # lslpp -l openssl* Fileset Level State Description ----------------------------------------------------------------------------Path: /usr/lib/objrepos openssl.base 3.0.7.1000 COMMITTED Open Secure Socket Layer openssl.license 3.0.7.1000 COMMITTED Open Secure Socket License openssl.man.en_US 3.0.7.1000 COMMITTED Open Secure Socket LayerPath: /etc/objrepos openssl.base 3.0.7.1000 COMMITTED Open Secure Socket Layer
tested on a never openssl...
root@nimvie: /lpar2rrd/lpar2rrd/logs # lslpp -l openssl* Fileset Level State Description ----------------------------------------------------------------------------Path: /usr/lib/objrepos openssl.base 3.0.10.1001 COMMITTED Open Secure Socket Layer openssl.license 3.0.10.1001 COMMITTED Open Secure Socket License openssl.man.en_US 3.0.10.1001 COMMITTED Open Secure Socket LayerPath: /etc/objrepos openssl.base 3.0.10.1001 COMMITTED Open Secure Socket Layer
the missing symbols are there...now im curious...why are deprectated functions/symbols NOT available in an older openssl version but available again in an NEWER openssl version. this feels somewhat weird.
------------------------------
I regret starting this entire conversation
------------------------------
Original Message:
Sent: Mon April 29, 2024 08:59 AM
From: Ayappan P
Subject: toolbox perl: Crypt::SSLeay build fails
All these symbols should be resolved through libssl.so.3 library.
# dump -X64 -Tov /opt/freeware/lib64/perl5/5.38/site_perl//auto/Net/SSLeay/SSLeay.so | grep TLS
[505] 0x00000000 undef IMP DS EXTref libssl.a(libssl.so.3) TLSv1_2_client_method
[506] 0x00000000 undef IMP DS EXTref libssl.a(libssl.so.3) TLSv1_2_server_method
[507] 0x00000000 undef IMP DS EXTref libssl.a(libssl.so.3) TLSv1_2_method
[508] 0x00000000 undef IMP DS EXTref libssl.a(libssl.so.3) TLSv1_1_client_method
[509] 0x00000000 undef IMP DS EXTref libssl.a(libssl.so.3) TLSv1_1_server_method
[510] 0x00000000 undef IMP DS EXTref libssl.a(libssl.so.3) TLSv1_1_method
[511] 0x00000000 undef IMP DS EXTref libssl.a(libssl.so.3) TLSv1_client_method
[512] 0x00000000 undef IMP DS EXTref libssl.a(libssl.so.3) TLSv1_server_method
[513] 0x00000000 undef IMP DS EXTref libssl.a(libssl.so.3) TLSv1_method
[514] 0x00000000 undef IMP DS EXTref libssl.a(libssl.so.3) TLS_client_method
[515] 0x00000000 undef IMP DS EXTref libssl.a(libssl.so.3) TLS_server_method
[516] 0x00000000 undef IMP DS EXTref libssl.a(libssl.so.3) TLS_method
# ar -X64 -tv /usr/lib/libssl.a
rwxr-xr-x 0/0 825310 Jan 18 01:17 2024 libssl.so
rwxr-xr-x 0/0 825310 Jan 18 01:17 2024 libssl.so.1.0.0
rwxr-xr-x 0/0 825310 Jan 18 01:17 2024 libssl.so.1.0.2
rwxr-xr-x 0/0 1141680 Jan 18 03:20 2024 libssl.so.1.1
rwxr-xr-x 0/0 1367696 Jan 18 01:21 2024 libssl.so.3
rwxr-xr-x 0/0 825310 Jan 18 01:17 2024 libssl64.so
rwxr-xr-x 0/0 825310 Jan 18 01:17 2024 libssl64.so.1.0.0
------------------------------
Ayappan P
Original Message:
Sent: Mon April 29, 2024 07:26 AM
From: C- -T
Subject: toolbox perl: Crypt::SSLeay build fails
reinstalled Net::SSLeay and IO::Socket::SSL but now i get some run time linking errors...
root@aixtest01: /root/.cpanm/latest-build/IO-Socket-SSL-2.085 # /opt/freeware/bin/perl -e 'use LWP::Protocol::https'Can't load '/opt/freeware/lib64/perl5/5.38/site_perl//auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: rtld: 0712-001 Symbol TLSv1_2_client_method was referenced from module /opt/freeware/lib64/perl5/5.38/site_perl//auto/Net/SSLeay/SSLeay.so(), but a runtime definition of the symbol was not found.rtld: 0712-001 Symbol TLSv1_2_server_method was referenced from module /opt/freeware/lib64/perl5/5.38/site_perl//auto/Net/SSLeay/SSLeay.so(), but a runtime definition of the symbol was not found.rtld: 0712-001 Symbol TLSv1_2_method was referenced from module /opt/freeware/lib64/perl5/5.38/site_perl//auto/Net/SSLeay/SSLeay.so(), but a runtime definition of the symbol was not found.rtld: 0712-001 Symbol TLSv1_1_client_method was referenced from module /opt/freeware/lib64/perl5/5.38/site_perl//auto/Net/SSLeay/SSLeay.so(), but a runtime definition of the symbol was not found.rtld: 0712-001 Symbol TLSv1_1_server_method was referenced from module /opt/freeware/lib64/perl5/5.38/site_perl//auto/Net/SSLeay/SSLeay.so(), but a runtime definition of the symbol was not found.rtld: 0712-001 Symbol TLSv1_1_method was referenced from module /opt/freeware/lib64/perl5/5.38/site_perl//auto/Net/SSLeay/SSLeay.so(), but a runtime definition of the symbol was not found.rtld: 0712-001 Symbol TLSv1_client_method was referenced from module /opt/freeware/lib64/perl5/5.38/site_perl//auto/Net/SSLeay/SSLeay.so(), but a runtime definition of the symbol was not found.Additional errors occurred but are not reported. at /opt/freeware/lib64/perl5/5.38/DynaLoader.pm line 206. at /opt/freeware/share/perl5/site_perl/IO/Socket/SSL.pm line 19.Compilation failed in require at /opt/freeware/share/perl5/site_perl/IO/Socket/SSL.pm line 19.BEGIN failed--compilation aborted at /opt/freeware/share/perl5/site_perl/IO/Socket/SSL.pm line 19.Compilation failed in require at /opt/freeware/share/perl5/site_perl/Net/HTTPS.pm line 25.Can't locate Net/SSL.pm in @INC (you may need to install the Net::SSL module) (@INC entries checked: /opt/freeware/lib64/perl5/5.38/site_perl/ /opt/freeware/share/perl5/site_perl/ /opt/freeware/lib64/perl5/5.38/vendor_perl/ /opt/freeware/share/perl5/vendor_perl/ /opt/freeware/lib64/perl5/5.38/ /opt/freeware/share/perl5/5.38/) at /opt/freeware/share/perl5/site_perl/Net/HTTPS.pm line 29.Compilation failed in require at /opt/freeware/share/perl5/site_perl/LWP/Protocol/https.pm line 9.Compilation failed in require at -e line 1.BEGIN failed--compilation aborted at -e line 1.
------------------------------
I regret starting this entire conversation
Original Message:
Sent: Mon April 29, 2024 07:18 AM
From: C- -T
Subject: toolbox perl: Crypt::SSLeay build fails
hmm...t
------------------------------
I regret starting this entire conversation
Original Message:
Sent: Mon April 29, 2024 07:10 AM
From: C- -T
Subject: toolbox perl: Crypt::SSLeay build fails
looks like LWP-Protocol-https depends on Crypt::SSLeay....? so ne more https urls in perl?
------------------------------
I regret starting this entire conversation
Original Message:
Sent: Mon April 29, 2024 05:41 AM
From: Ayappan P
Subject: toolbox perl: Crypt::SSLeay build fails
Crypt-SSLeay is kind of deprecated. The last version 0.72 is released on April 2014. I don't think it can be build against openssl 3.
I see cpan redirects the installation to Net-SSLeay, which is the replacement I guess.
------------------------------
Ayappan P
Original Message:
Sent: Mon April 29, 2024 05:12 AM
From: C- -T
Subject: toolbox perl: Crypt::SSLeay build fails
root@nimvie: /root # oslevel -s7300-02-01-2346root@nimvie: /root # lslpp -l openssl.base Fileset Level State Description ----------------------------------------------------------------------------Path: /usr/lib/objrepos openssl.base 3.0.10.1001 COMMITTED Open Secure Socket LayerPath: /etc/objrepos openssl.base 3.0.10.1001 COMMITTED Open Secure Socket Layerroot@nimvie: /root # lslpp -l perl.rte Fileset Level State Description ----------------------------------------------------------------------------Path: /usr/lib/objrepos perl.rte 5.34.1.4 COMMITTED Perl Version 5 Runtime EnvironmentPath: /etc/objrepos perl.rte 5.34.1.4 COMMITTED Perl Version 5 Runtime Environment
please note, i need the module for the toolbox perl dist.
------------------------------
I regret starting this entire conversation
Original Message:
Sent: Mon April 29, 2024 05:06 AM
From: Ayappan P
Subject: toolbox perl: Crypt::SSLeay build fails
Can you share the below details ?
oslevel -s
lslpp -l openssl.base
lslpp -l perl.rte
------------------------------
Ayappan P