note 41455 added to ref.oci8

From: Date: Sat, 10 Apr 2004 15:20:09 +0000
Subject: note 41455 added to ref.oci8
Groups: php.notes 
Request: Send a blank email to php-notes+get-67961@lists.php.net to get a copy of this message
I finally figured out quite the annoying problem with a recompile of the php-4.2.2-17.2 source RPM on RedHat 9 with Oracle support. I don't know why this worked, but perhaps it will help someone who is in the same bind: # cd /usr/src/redhat/SPECS You should see a file called php.spec. Open it up in your favorite text editor and you should see some lines like this: %if %{oracle} --with-oci8=shared \ %endif Change it so that it points to your installation of the Oracle OCI libraries: %if %{oracle} --with-oci8=shared,/usr/oracle/product/9.2 \ %endif ...is one example. Make sure the "shared," portion is there, or else the make of libphp4 will not work, stating that it cannot find library clntsh. Then, rebuild using the following command: # rpmbuild -ba --define 'oracle 1' php.spec Keep in mind that this does not include the fixes for openssl problems on RedHat 9, which are noted in this location: http://www.php.net/manual/en/install.linux.php. This is something I am trying to confirm now. I hope this helps! ---- Manual Page -- http://www.php.net/manual/en/ref.oci8.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+41455 Delete -- http://master.php.net/manage/user-notes.php?action=delete+41455&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+41455&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#67961) next »