Hi,
        I am very sorry I had written wrong path in the mail. Please find the 
code below:


-bash-3.2$ cat test.pl
use lib 
"/oracle/app/oracle/product/10.2.0/in-dwh/perl/lib/site_perl/5.8.3/i686-linux-thread-multi
 ";
use DBI;
print "abcd";

-bash-3.2$ ls -ltr 
/oracle/app/oracle/product/10.2.0/in-dwh/perl/lib/site_perl/5.8.3/i686-linux-thread-multi
total 312
-rwxr-xr-x  1 oracle dba   1292 Jun  8  2004 oraperl.ph
-rwxr-xr-x  1 oracle dba  27928 Jun  8  2004 Oraperl.pm
-rwxr-xr-x  1 oracle dba 249515 Jun 24  2004 DBI.pm
drwxr-x--- 14 oracle dba   4096 Dec  7 05:59 auto
drwxr-x---  3 oracle dba   4096 Dec  7 05:59 XML
drwxr-x---  2 oracle dba   4096 Dec  7 05:59 Win32
drwxr-x---  2 oracle dba   4096 Dec  7 05:59 HTML
drwxr-x---  2 oracle dba   4096 Dec  7 05:59 Digest
drwxr-x---  5 oracle dba   4096 Dec  7 05:59 DBI
drwxr-x---  3 oracle dba   4096 Dec  7 05:59 DBD
drwxr-x---  2 oracle dba   4096 Dec  7 05:59 Bundle

-bash-3.2$ perl -c test.pl
Can't locate DBI.pm in @INC (@INC contains: 
/oracle/app/oracle/product/10.2.0/in-dwh/perl/lib/site_perl/5.8.3/i686-linux-thread-multi
  /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl 
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl 
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at 
test.pl line 2.
BEGIN failed--compilation aborted at test.pl line 2.



Regards
Kallol Chakraborty
+919804199917

-----Original Message-----
From: m. allan noah [mailto:kitno...@gmail.com]
Sent: Thursday, December 10, 2009 11:52 PM
To: Kallol Chakraborty
Cc: dbi-users@perl.org
Subject: Re: DBI.pm package not found

"/oracle/app/oracle/product/"

vs

"/app/oracle/product/"

maybe?

allan


On Thu, Dec 10, 2009 at 6:00 AM, Kallol Chakraborty <kal...@aircel.co.in> wrote:
> Hi,
>                I am having DBI.pm package in 
> /oracle/app/oracle/product/10.2.0/in-dwh/perl/lib/site_perl/5.8.3/i686-linux-thread-multi
>  , which is coming with Oracle 10G .
> In my perl code I am using
>
> use lib 
> /app/oracle/product/10.2.0/in-dwh/perl/lib/site_perl/5.8.3/i686-linux-thread-multi
>  ";
> use DBI;
>
> but it is giving error
>
> Can't locate DBI.pm in @INC (@INC contains: 
> /app/oracle/product/10.2.0/in-dwh/perl/lib/site_perl/5.8.3/i686-linux-thread-multi
>  /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi 
> /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl 
> /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi 
> /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl 
> /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at 
> sdp_stat_convert.pl line 2.
>
> Can you please help me out?
>
> Regards
> Kallol Chakraborty
> +919804199917
>
>
> ________________________________
> This e-mail message and its attachments are for the sole use of the intended 
> recipients. It may contain proprietary, confidential, privileged information 
> or other information subject to legal restrictions. If you are not the 
> intended recipient of this message, please do not read, copy, use or disclose 
> this message or its attachments. Please notify the sender immediately and 
> destroy all copies of this message and any attachments.
> WARNING: This e-mail message including attachment(s), if any, is believed to 
> be free of any virus. However, it is the responsibility of the recipient to 
> ensure for absence of viruses. Aircel shall not be held responsible nor does 
> it accept any liability for any damage arising in any way from its use.
>



--
"The truth is an offense, but not a sin"


This e-mail message and its attachments are for the sole use of the intended 
recipients. It may contain proprietary, confidential, privileged information or 
other information subject to legal restrictions. If you are not the intended 
recipient of this message, please do not read, copy, use or disclose this 
message or its attachments. Please notify the sender immediately and destroy 
all copies of this message and any attachments.
WARNING: This e-mail message including attachment(s), if any, is believed to be 
free of any virus. However, it is the responsibility of the recipient to ensure 
for absence of viruses. Aircel shall not be held responsible nor does it accept 
any liability for any damage arising in any way from its use.

Reply via email to