Bug #13022: oracle 9i and --with-oci8

From: Date: Wed, 29 Aug 2001 10:11:42 +0000
Subject: Bug #13022: oracle 9i and --with-oci8
Groups: php.dev 
Request: Send a blank email to php-dev+get-64583@lists.php.net to get a copy of this message
From:             jewa@force.de
Operating system: Solaris 2.7
PHP version:      4.0.6
PHP Bug Type:     Oracle related
Bug description:  oracle 9i and --with-oci8

export CC=/opt/SUNWspro/bin/cc
export ORACLE_HOME=/u01/app/oracle/product/9.0.1
./configure --prefix=/opt/php --with-mysql=/opt/mysql --with-oci8
--with-apxs=/opt/apache/bin/apxs --with-config-file-path=/opt/php; make
...
checking Oracle Install-Dir... /u01/app/oracle/product/9.0.1
+--------------------------------------------------------------------+
| Notice:                                                            |
| If you encounter <defunc> processes when using a local Oracle-DB   |
| please recompile PHP and specify --enable-sigchild when configuring|
| (This problem has been reported un Linux using Oracle >= 8.1.5)    |
+--------------------------------------------------------------------+
checking Oracle version... configure: error: Oracle-OCI8 needed libraries
not found
make: Fatal error: No arguments to build

But the Net8 Client side should not be changed in Oracle  9i because it
still has the 8.1.7 Net client. So I linked the library
$ORACLE_HOME/lib/libclntsh.so.9.0 to $ORACLE_HOME/lib/libclntsh.so.8.0 and
compiled again

and the compilation and Oracle connection works!
-- 
Edit bug report at: http://bugs.php.net/?id=13022&edit=1



Thread (2 messages)

« previous php.dev (#64583) next »