When I get errors from CPAN I usually switch to whet or curl to get the package them make ; make all and make test ; make install. You could also try cpanm and see if it gives you better error messages - if you are building binary packages you May need a c compiler - easy with Linux - may be harder with AIX might have to pay IBM then try to find the right packages on the support web site could take days or weeks - you may be able to find a prebuilt gcc or clang but you may still need IBM libraries and support. Linux has things like apt-get and yum or dnf - not sure of the AIX equivalent - most Perl packages / modules build nicely but some are so hard you are better off with OS packages of prebuilt binaries. Also you didn't say if your database was DB2 or other. You also didn't say if your version of Perl changed when you upgraded the OS. It may matter
Get Outlook for iOS<https://aka.ms/o0ukef> ________________________________ From: MK, Karthick via dbi-users <dbi-users@perl.org> Sent: Wednesday, February 16, 2022 8:08 PM To: dbi-users@perl.org Cc: Khan, Haris; Rana, Piyush; Pallapothu, Saikalyan Subject: [EXTERNAL] perl is not working after migrating the server to AIX 7.2 Hello Team, We have migrated our AIX server from 6.1 to 7.2 . After the migration the perl is upgraded with v5.28.1 but perl scripts are not working . We are getting below error message. Could you please take a look of below and help us to fix this issue. Can't locate DBI.pm<https://urldefense.com/v3/__http://dbi.pm/__;!!LRF7QUM!KATaNTsDT28QWFUZlyIzVwtHoDYz84Ja4y2QD5nGspqCqElRQiER4asi0g4yorI$> in @INC (you may need to install the DBI module) (@INC contains: /usr/opt/perl5/lib64/site_perl/5.28.1/aix-thread-multi-64all /usr/opt/perl5/lib64/site_perl/5.28.1 /usr/opt/perl5/lib64/5.28.1/aix-thread-multi-64all /usr/opt/perl5/lib64/5.28.1 /usr/opt/perl5/lib64/site_perl /home/ddba04/scripts/perl_modules) at /home/ddba04/scripts/perl_modules/dbi_cmds.pm<https://urldefense.com/v3/__http://dbi_cmds.pm/__;!!LRF7QUM!KATaNTsDT28QWFUZlyIzVwtHoDYz84Ja4y2QD5nGspqCqElRQiER4asiD_GQQ2w$> line 4. BEGIN failed--compilation aborted at /home/ddba04/scripts/perl_modules/dbi_cmds.pm<https://urldefense.com/v3/__http://dbi_cmds.pm/__;!!LRF7QUM!KATaNTsDT28QWFUZlyIzVwtHoDYz84Ja4y2QD5nGspqCqElRQiER4asiD_GQQ2w$> line 4. Compilation failed in require at /home/db2edw01/scripts/applMonitor.pl<https://urldefense.com/v3/__http://applmonitor.pl/__;!!LRF7QUM!KATaNTsDT28QWFUZlyIzVwtHoDYz84Ja4y2QD5nGspqCqElRQiER4asirUuGeSM$> line 5. Also we tried to install bundle the given link. But it got reported error https://metacpan.org/release/DBI<https://urldefense.com/v3/__https://metacpan.org/release/DBI__;!!LRF7QUM!KATaNTsDT28QWFUZlyIzVwtHoDYz84Ja4y2QD5nGspqCqElRQiER4asiMY2RWm0$> Here is the error perl -MCPAN -e 'install Bundle::DBI' CPAN.pm<https://urldefense.com/v3/__https://cpan.pm/__;!!LRF7QUM!KATaNTsDT28QWFUZlyIzVwtHoDYz84Ja4y2QD5nGspqCqElRQiER4asiUBx9ocY$> requires configuration, but most of it can be done automatically. If you answer 'no' below, you will enter an interactive dialog for each configuration option instead. Would you like to configure as much as possible automatically? [yes] yes Autoconfiguration complete. You can re-run configuration any time with 'o conf init' in the CPAN shell commit: wrote '/.cpan/CPAN/MyConfig.pm<https://urldefense.com/v3/__https://myconfig.pm/__;!!LRF7QUM!KATaNTsDT28QWFUZlyIzVwtHoDYz84Ja4y2QD5nGspqCqElRQiER4asiYHtYeOM$>' Fetching with LWP: http://www.cpan.org/authors/01mailrc.txt.gz<https://urldefense.com/v3/__http://www.cpan.org/authors/01mailrc.txt.gz__;!!LRF7QUM!KATaNTsDT28QWFUZlyIzVwtHoDYz84Ja4y2QD5nGspqCqElRQiER4asi7e2MeFc$> Reading '/.cpan/sources/authors/01mailrc.txt.gz' Fetching with LWP: ............................................................................DONE Reading '/.cpan/sources/modules/02packages.details.txt.gz' http://www.cpan.org/modules/02packages.details.txt.gz<https://urldefense.com/v3/__http://www.cpan.org/modules/02packages.details.txt.gz__;!!LRF7QUM!KATaNTsDT28QWFUZlyIzVwtHoDYz84Ja4y2QD5nGspqCqElRQiER4asiSX-B8_M$> Database was generated on Tue, 15 Feb 2022 14:29:03 GMT New CPAN.pm<https://urldefense.com/v3/__https://cpan.pm/__;!!LRF7QUM!KATaNTsDT28QWFUZlyIzVwtHoDYz84Ja4y2QD5nGspqCqElRQiER4asiUBx9ocY$> version (v2.29) available. ............. [Currently running version is v2.20] reload cpan install CPAN You might want to try to both upgrade CPAN.pm<https://urldefense.com/v3/__https://cpan.pm/__;!!LRF7QUM!KATaNTsDT28QWFUZlyIzVwtHoDYz84Ja4y2QD5nGspqCqElRQiER4asiUBx9ocY$> and run the new version without leaving ......................................................Memory fault(coredump) Thanks and Regards, Karthick MK Email : karthick...@accenture.com<mailto:karthick...@accenture.com> Mobile : 95661 20992 ________________________________ This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. Your privacy is important to us. Accenture uses your personal data only in compliance with data protection laws. For further information on how Accenture processes your personal data, please see our privacy statement at https://www.accenture.com/us-en/privacy-policy<https://urldefense.com/v3/__https://www.accenture.com/us-en/privacy-policy__;!!LRF7QUM!KATaNTsDT28QWFUZlyIzVwtHoDYz84Ja4y2QD5nGspqCqElRQiER4asibpSElZo$>. ______________________________________________________________________________________ www.accenture.com<https://urldefense.com/v3/__http://www.accenture.com__;!!LRF7QUM!KATaNTsDT28QWFUZlyIzVwtHoDYz84Ja4y2QD5nGspqCqElRQiER4asiPBxfNqw$> The information contained in this electronic mail transmission is intended only for the use of the individual or entity named in this transmission. If you are not the intended recipient of this transmission, you are hereby notified that any disclosure, copying or distribution of the contents of this transmission is strictly prohibited and that you should delete the contents of this transmission from your system immediately. Any comments or statements contained in this transmission do not necessarily reflect the views or position of Radial or its subsidiaries and/or affiliates.