Hi,

Recently AIX 6.x is upgraded to AIX 7.1 on our servers.
That upgraded automatically Perl version to 5.10.1.

There are lot of perl and shell scripts on our servers.
After upgrading most of the perl scripts failing.

Errors:

1)      Can't locate loadable object for module DBI in @INC (@INC contains: 
/usr/opt/perl5/lib/5.10.1/aix-thread-multi /usr/opt/perl5/lib/5.10.1

1)
/usr/opt/perl5/lib/site_perl/5.10.1/aix-thread-multi 
/usr/opt/perl5/lib/site_perl/5.10.1 .) at 
/usr/opt/perl5/lib/5.10.1/aix-thread-multi/DBI.pm line 265
BEGIN failed--compilation aborted at 
/usr/opt/perl5/lib/5.10.1/aix-thread-multi/DBI.pm line 265.
Compilation failed in require at /tivoli/MWV/scripts/EventsByClass.pl line 31.
BEGIN failed--compilation aborted at /tivoli/MWV/scripts/EventsByClass.pl line 
31.


2)       Can't locate Date/Pcalc.pm in @INC (@INC contains: 
/usr/opt/perl5/lib/5.10.1/aix-thread-multi /usr/opt/perl5/lib/5.10.1

2)
/usr/opt/perl5/lib/site_perl/5.10.1/aix-thread-multi 
/usr/opt/perl5/lib/site_perl/5.10.1 .) at netview_update.pl line 18.
BEGIN failed--compilation aborted at netview_update.pl line 18.

Error 2, I fixed by copying the "Date" dir  from old perl version 5.8.8
cp -R /usr/opt/perl5/lib/site_perl/5.8.8/aix-thread-multi/Date 
/usr/opt/perl5/lib/5.10.1/aix-thread-multi/

Similarly I copied DBI, DBD dirs. For fixing error 1, not worked.

Why we are not getting *.pm files automatically.
Do we need to separately install all required libraries (functions)?

Our perl scripts using the following functions:
Date::Pcalc qw(:all)
Net::FTP
File::Copy
DBI::
LWP::UserAgent
HTTP::Request::Common qw(POST)
Net::Ping
Getopt::Std
Time::Local

I am not sure what all we missed *.pm files in the latest perl 5.10.1.

Please guide me how to install *.pm files (DBI, Date,...) in latest version.

Thanks & Regards,

Ramakrishna Jillapelli,
Global Services, Operations and Engineering,

XEROX Business Services,
9th Floor, Explorer Block, White Field Road, ITPL,
Bangalore - 560066, India.

E-Mail: 
ramakrishna.jillape...@xerox.com<mailto:ramakrishna.jillape...@xerox.com>,
Ph: +1-214-530-2222, Ext 3208, Mob: +91-9008177255 (Off), +91-9880678154 (Per).

Reply via email to