Hello Eduardo,
1) you have a typo in the command:
# cpan fforce install Net::SSLeay
>(error): Could not expand [fforce]. Check the module name.
2) you should add path to xlc_r into your PATH variable:
xlc_r -q32 -c -I"/usr/include" -DNET_SSLEAY_32BIT_INT_PERL -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -qlanglvl=extc99 -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -O -DVERSION=\"1.92\" -DXS_VERSION=\"1.92\" "-I/usr/opt/perl5/lib/5.34.1/aix-thread-multi/CORE" SSLeay.c
/bin/sh: xlc_r: not found.
3) update your OpenSSL to 3.0.7 if you want to use OpenSSL 3.
*** Found OpenSSL-3.0.5 installed in /usr
------------------------------
Andrey Klyachkin
https://www.power-devops.com------------------------------