You have module Apache::DBI which ain't DBI. You need to install DBI (and DBD::Oracle), probably after compiling them.
JL ------Original Message------ From: Chokhani, Khushboo To: dbi-users@perl.org Subject: Need help with DBI connect Sent: Sep 12, 2011 08:18 Hi, I have been stuck with this error since long now, and have tried almost everything available on web but no luckL Any help would be greatly appreciated. When I try to execute a PERL scripts I am getting an error: ORACLE_HOME=/u01/app/oracle/product/10.2.0 TNS_ADMIN=/usr/local/tns Can't locate object method "connect" via package "DBI" at /opt/mabl/agg/dgt/batch-proc/contentdownload/PROD-BBY/bin/DeltaFlag.pm line 67. Before getting this error, I was getting an error where the script was not able to locate the DBI.pm module, hence I pointed my script to use the below path to locate DBI.pm: /u01/app/oracle/product/10.2.0/perl/lib/site_perl/5.8.3/Apache We are migrating from HPUX system to Linux, hence the scripts which we have been using since long are not working as is and they require some changes. Pls help! Thanks! Khushboo Chokhani Wipro Technologies Mobile : +1 (612)-354-1243 Sent from my BlackBerry® smartphone, powered by CREDO Mobile.