> -----Original Message-----
> From: EXT-Sethi, Arun [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 27, 2001 10:07 PM
> To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
> Cc: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'; 
> '[EMAIL PROTECTED]'
> Subject: DBD - Oracle "Error connecting to Oracle"
> 
> 
> Geoff / Daniel,
> 
> this is in ref. to your emails (as given below) in the 
> "mod_perl" users group.
> 
> I am going through the same errors in my error_log ie
> 
> getting:
> Use of inherited AUTOLOAD for non-method 
> DBD::Oracle::ORA_OCI() is deprecated at 
> /oracle/product/9iAS/Apache/perl/lib/site_perl/5.005/PA-RISC2.
> 0-thread/DBD/Oracle.pm line 48.

I was never able to figure out that exact error but I think it had something
to do with DBI trying (unsucessfully) to load DBD::Oracle twice.  That is, I
would only see it from my log handler after my content handler bombed for
the other reasons listed in the thread.  In both cases I was just use()ing
DBI and relying on DBI to pull in DBD::Oracle (however it does that)

> 
> when I try to connect to oracle from aperl program from the 
> web using DBD::Oracle (1.0.3 as wel as DBD 1.0.6)
> and I have no problem connecting to oracle when I run the 
> perl program from thw shell (command line)
> 
> 
> It looks like you are on linux platform, and in my case I am 
> on hp-ux 11.0 box.  I am not sure if Daniel is also on linux 
> box or some other box.

I have experience with this on both solaris and linux - the below patch
helped on both platforms.
no experience on HP for me, though.

sorry

--Geoff

> 
> 
> I have also tried as follows but that does not help in my case
> 
>  the short answer/path is to edit DBD::Oracle Makefile.PL and 
> build it again
> 
>       -$::opt_b = 1;   # try to use Oracle's own 'build' rule
>       +$::opt_b = 0;   # try to use Oracle's own 'build' rule
> 
> 
> Question:
> 
> I would appreciate to know if there is some thing I am 
> missing or if this is some bug in DBD:Oracle (1.03/1.0.6) on 
> HP-UX or any other information that can help me 
> resolve/workaround this problem.
> 
> 
> 
> thanks
> Arun
> 
> 
> 
[snip]

Reply via email to