> -----Original Message-----
> From: aaron [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 26, 2000 8:48 AM
> To: Geoffrey Young
> Cc: [EMAIL PROTECTED]
> Subject: Re: DBD-Oracle and mod_perl
> 
> 
> at a time earlier than now, Geoffrey Young wrote:
> > hi everyone...
> > 
> > I was just wondering if anyone has been able to get the 
> newer releases of
> > DBD-Oracle to work under mod_perl?
> 
>  yep.
> 
> > 
> > I was getting these errors before the conference, but 
> wanted to investigate
> > further.  Yesterday I rolled my own perl 5.6 ( with 
> -Dusethreads) and
> > rebuilt everything, mod_perl, DBI, DBD::Oracle, etc.  Still the same
> > results...
> 
>  i've got it working under SunOS 5.7 and RedHat Linux 6.2
> > 
> > basically, I get the following errors on a simple connect 
> and 'select
> > sysdate from dual':
> 
>  looks like it's not linked correctly. try adding $ORACLE_HOME/lib to 
>  LD_LIBRARY_PATH or /etc/ld.so.conf ( and run ldconfig ).

it was in LD_LIBRARY_PATH, but not in /etc/ld.so.conf.
cool, that seemed to do the trick... thanks

not knowing much about ldconfig, just curious about the error:
ldconfig: warning: /u01/app/oracle/product/8.0.5.1/lib/libclntsh.so.1.0 is
not a symlink

cause for concern?

--Geoff

> 
> > 
> > use DBD::Oracle;  
> > # results in:
> > # Can't load
> > 
> '/usr/local/lib/perl5/site_perl/5.6.0/i686-linux-thread-multi/
> auto/DBD/Oracl
> > e/Oracle.so' for module DBD::Oracle: libclntsh.so.1.0: 
> cannot open shared
> > object file: No such file or directory at
> 
>  see.. it can't find libclntsh.so.1.0. i don't have that 
> exact file, but i 
>  do have /opt/oracle/product/8.1.6/lib/libclntsh.so
> 
>  hth, aaron
> 

Reply via email to