Hi, We have installed PERL 5.36 source code and when we run “Perl -v” we are seeing 5.36 version. But when we execute a script we are still seeing the older version of perl 5.8.9. Could you please support.
reference config lines :
[root@ucs-vm01 perl-5.36.0]# perl -v
This is perl 5, version 36, subversion 0 (v5.36.0) built for x86_64-linux
Copyright 1987-2022, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using “man perl” or “perldoc perl”. If you have access to the
Internet, point your browser at https://www.perl.org/, the Perl Home Page.
[root@ucs-vm01 perl-5.36.0]# cd /auto/open
[root@ucs-vm01 ssl-1.1.1n.7.2.390]# ./config --prefix=/auto/open/linux/ssl no-threads no-ecdh no-ec -fPIC
Operating system: x86_64-whatever-linux2
Perl v5.10.0 required–this is only v5.8.9, stopped at ./Configure line 12.
BEGIN failed–compilation aborted at ./Configure line 12.
Perl v5.10.0 required–this is only v5.8.9, stopped at ./Configure line 12.
BEGIN failed–compilation aborted at ./Configure line 12.
This system (linux-x86_64) is not supported. See file INSTALL for details.