Oracle 10g Instant Client on RHEL4 and RHEL5
Mon May 21 2007 : Updated to 10.2.0.3 at last, rebuilt most packages and added Red Hat Enterprise Linux 5 (RHEL5) packages.
Thu May 18 2006 : Fixed library path in the oracle-client-config script on 64bit architectures and rebuild perl module.
Mon Apr 24 2006 : Updated instantclient to 10.2.0.2, libsqlora8 to 2.3.3, squale to 0.1.6 and fixed php-oci8 build on x86_64.
Mon Apr 04 2005 : Initial version of this page.
Here are the files I use to configure Red Hat Enterprise Linux 4 and 5 (RHEL4 and RHEL5) servers as Oracle clients. They have been tested with php-oci8, squale and perl-DBD-Oracle (required by the oracletool CGI). The main oracle-instantclient packages have been rebuilt from the zip files provided by Oracle because their rpm packages don't work as expected (no require/provide information and no ldconfig calls), and also because Oracle didn't use to provide any x86_64 rpm packages. Of course, the proprietary Oracle bits aren't available here, which is why you'll find only the .nosrc.rpm file. For other packages, binaries are provided since they only link dynamically to the Oracle libraries and contain no proprietary code.
All the RHEL5 packages (i386, x86_64, SRPMS) :
- libmcrypt-2.5.7-5.el5
- libsqlora8-2.3.3-2.el5
- oracle-instantclient-10.2.0.3-1
- perl-DBD-Oracle-1.19-1.el5
- php-mcrypt-5.1.6-1.el5
- php-oci8-5.1.6-1.el5
- php-squale-0.1.10-0.1.el5
- squale-0.1.10-0.4.el5
All the RHEL4 packages (i386, x86_64, SRPMS) :
- libsqlora8-2.3.3-2.el4
- oracle-instantclient-10.2.0.3-1
- perl-DBD-Oracle-1.19-1.el4
- php-oci8-4.3.9-3.el4
- php-squale-0.1.9-1.el4
- squale-0.1.10-0.2.el4
If you need to rebuild the php-oci8 module for another PHP version, you can use the patches below. PHP5 and recent PHP4 versions work as-is on i386 but still require a minor change on x86_64.
- php-4.3.9-oci8.patch (for 4.3.9 and 4.3.10)
- php-4.3.11-oci8.patch (for 4.3.11, 4.4.0 and 4.4.1)
- php-5.1.6-oci8.patch (for 5.1.6, 5.2.2)