Amit.Nagpure wrote: > Hi > I am getting the below error while executing the perl on AIX. > The error is below pasted. > > Can't locate loadable object for module DBI in @INC (@INC contains: > /usr/opt/perl5/lib/5.8.2/aix-thread-multi /usr/opt/perl5/lib/5.8.2 > /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi > /usr/opt/perl5/lib/site_perl/5.8.2 /usr/opt/perl5/lib/site_perl .) at > /usr/opt/perl5/lib/5.8.2/DBI.pm line 250 > BEGIN failed--compilation aborted at /usr/opt/perl5/lib/5.8.2/DBI.pm line 250. > > > Could you please suggest us do we need to copy DBI or what are the steps we > can follow to remove this error? > > Best regards > Amit > >
How about installing the DBI module. Download DBI from search.cpan.org, untar it, cd into the dir created and type: perl Makefile.PL make make test make install The last part (make install) will probably have to be done as root unless you install it somewhere else or you have sudo installed and mentioned in your cpan shell settings for the make_install_make_command. This is fundamental for installing Perl modules so I'd suggest you do some reading on Perl - start with "perldoc perlmodinstall". Martin -- Martin J. Evans Easysoft Limited http://www.easysoft.com
