Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Can't locate loadable object for module DBI in

455 views
Skip to first unread message

Amit . Nagpure

unread,
Feb 16, 2010, 2:42:39 AM2/16/10
to dbi-...@perl.org
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

Martin Evans

unread,
Feb 16, 2010, 8:21:09 AM2/16/10
to Amit.Nagpure, dbi-users

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

0 new messages