AIX Open Source

 View Only
  • 1.  AIX Perl modules

    Posted Tue May 30, 2023 02:04 AM

    Good day,
    Our application team is trying to deploy and execute a web application on one AIX server, the application needs to use the 64bit version of perl, however they have the following errors and the third level of the application team mentioned that the modules are not compatible with 64bit Perl version and it's necessary to change the Perl version.

     We want to validate the necessary steps needed at OS level in order to accomplish the application and application perl scripts use the 64bit Perl version, if there are dependencies or something to modify at OS level.

    Could you please guide us with this topic?

    Errors at Web application level:

    [Thu Apr 13 11:19:01.217868 2023] [cgi:error] [pid 14549334:tid 1543] [client] AH01215: Can't load '/usr/opt/perl5/lib64/site_perl/5.28.1/aix-thread-multi-64all/auto/DBI/' for module DBI: Could not load module /usr/opt/perl5/lib64/site_perl/5.28.1/aix-thread-multi-64all/auto/DBI/ /ap/fh/fhart12/http/cgi-bin/baugr/, referer:

    334:tid 1543] [client] AH01215: System error: Exec format error at /usr/opt/perl5/lib64/5.28.1/aix-thread-multi-64all/ line 193.: /ap/fh/fhart12/http/cgi-bin/baugr/, referer: 

    [Thu Apr 13 11:19:01.218147 2023] [cgi:error] [pid 14549334:tid 1543] [client] AH01215: : /ap/fh/fhart12/http/cgi-bin/baugr/, referer:

    [Thu Apr 13 11:19:01.218269 2023] [cgi:error] [pid 14549334:tid 1543] [client] AH01215: BEGIN failed--compilation aborted at /usr/opt/perl5/lib64/site_perl/5.28.1/aix-thread-multi-64all/ line 284.: /ap/fh/fhart12/http/cgi-bin/baugr/, referer: 

    [Thu Apr 13 11:19:01.218371 2023] [cgi:error] [pid 14549334:tid 1543] [client] AH01215: Compilation failed in require at /ap/fh/fhart12/http/cgi-bin/baugr/ line 10.: /ap/fh/fhart12/http/cgi-bin/baugr/, referer: 

    [Thu Apr 13 11:19:01.218477 2023] [cgi:error] [pid 14549334:tid 1543] [client] AH01215: BEGIN failed--compilation aborted at /ap/fh/fhart12/http/cgi-bin/baugr/ line 10.: /ap/fh/fhart12/http/cgi-bin/baugr/, referer: 

    [Thu Apr 13 11:19:01.218485 2023] [cgi:error] [pid 14549334:tid 1543] [client] End of script output before headers:, referer: 

    Unix Team

  • 2.  RE: AIX Perl modules

    IBM Champion
    Posted Wed May 31, 2023 05:56 AM

    By default /usr/bin/perl points at the 32-bit version.

    If your application requires the 64-bit version, call /usr/bin/perl64.

    If LIBPATH is defined, make sure that it starts with "/usr/lib".

    DBI isn't a part of perl.rte, where did you get it from ?  Was it compiled on the same AIX/perl versions ?

    José Pina Coelho
    IT Specialist at Kyndryl