[CentOS] Oracle instantclient on CentOS 4.4 with DBD::Oracle

Fri May 11 02:31:37 UTC 2007
Jay Leafey <jay.leafey at mindless.com>

Matt Martz wrote:
> Does anyone have experience on installing the Oracle instantclient and
> DBD::Oracle on CentOS 4.4.
> 
> I have been having several issues with getting the RPMs from Oracle's site
> working with DBD::Oracle.  I can get the oracle instant client to install
> without issue.  But I cannot compile/install DBD::Oracle using cpan or
> cpan2rpm.
> 
> I found http://freshrpms.net/docs/oracle/ which has a nosrc rpm for the
> oracle instant client but I cannot find the ZIP files that are referenced
> in the SPEC file as Oracle has released a new version.
> 
> When I try to build perl-DBD-Oracle-1.16-4.el4.src.rpm from that page it
> errors out...When I try to install perl-DBD-Oracle-1.16-4.el4.i386.rpm it
> says it cannot locate the .so files that the instantclient installed
> although I know they are there.  I am not sure where that package is
> assuming the files should be so I cannot symlink them.
> 
> Any assistance would be wonderful.
> 
> Thanks!
> 

I've been using the specfile available at 
http://remi.collet.free.fr/rpms/SPEC/oracle-instantclient.spec for about 
a year now with good results.  You will need to get the zipped archives 
from the Oracle Technology Network website 
(http://www.oracle.com/technology/software/tech/oci/instantclient/index.html) 
before building the RPMs, but they are free to download.

For DBD::Oracle, check out FreshRPMS.  Ther perl-DBD-Oracle package 
builds nicely on CentOS 4.  You can find the source RPM at 
http://rpm.pbone.net/index.php3/stat/4/idpl/2864938/com/perl-DBD-Oracle-1.16-4.el4.i386.rpm.html.

Your mileage may vary!
-- 
Jay Leafey - Memphis, TN
jay.leafey at mindless.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5177 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20070510/abc80a5b/attachment-0005.bin>