Try it again using --with-oci8=/opt/oracle/product/9.0.1 , instead of Oracle.
(if you have already defined ORACLE_HOME, just use --with-oci8.) Also, check your apxs script against this page. http://us2.php.net/manual/en/faq.build.php#faq.build.apxs -- Jim >>> John Brayton <[EMAIL PROTECTED]> 01/22/03 04:27PM >>> I am trying to compile PHP 4.2.3 with Apache 1.3.27, Oracle 9.0.1, and Java 1.4.1. I am doing this on Solaris 2.8. My call to "configure" is: ./configure --prefix=/home/export/brayton/php --with-apache=../apache_1.3.27 --with-oracle=/opt/oracle/product/9.0.1 --with-java=/opt/j2sdk1.4.1 The output of "configure" gives me the following: | *** ATTENTION *** | | | | Something is likely to be messed up here, because the configure | | script was not able to detect a simple feature on your platform. | | This is often caused by incorrect configuration parameters. Please | | see the file debug.log for error messages. | | | | If you are unable to fix this, send the file debug.log to the | | [EMAIL PROTECTED] mailing list and include appropiate | | information about your setup. | The contents of "debug.log" are: CONFIGURE: './configure' '--prefix=/home/export/brayton/php' '--with-apache=../apache_1.3.27' '--with-oracle =/opt/oracle/product/9.0.1' '--with-java=/opt/j2sdk1.4.1' CC: gcc CFLAGS: -g -O2 CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS CXX: CXXFLAGS: INCLUDES: -I/export/home/brayton/apache_1.3.27/src/include -I/export/home/brayton/apache_1.3.27/src/os/unix -I$(top_builddir)/Zend -I/export/home/brayton/php-4.2.3/ext/mysql/libmysql -I/opt/oracle/product/9.0.1/rdbms /public -I/opt/oracle/product/9.0.1/rdbms/demo -I/opt/oracle/product/9.0.1/plsql/public LDFLAGS: -R/usr/ucblib -L/usr/ucblib -R/usr/local/gcc-3.2.1/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1 -L/usr/ local/gcc-3.2.1/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1 -R/opt/j2sdk1.4.1/./jre/lib/sparc/server -L/opt/j2sdk1. 4.1/./jre/lib/sparc/server -R/opt/j2sdk1.4.1/./jre/lib/sparc/native_threads -L/opt/j2sdk1.4.1/./jre/lib/sparc/ native_threads -R/opt/j2sdk1.4.1/./jre/lib/sparc -L/opt/j2sdk1.4.1/./jre/lib/sparc -R/opt/oracle/product/9.0.1 /lib -L/opt/oracle/product/9.0.1/lib LIBS: -lcrypt -lresolv -lresolv -lm -ldl -lnsl -lsocket -lsocket -lgcc -lcrypt -lnsl -lsocket -lgen -ld l -lclntsh DLIBS: SAPI: apache PHP_RPATHS: /usr/ucblib /usr/local/gcc-3.2.1/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1 /opt/j2sdk1.4.1/./jre/lib /sparc/server /opt/j2sdk1.4.1/./jre/lib/sparc/native_threads /opt/j2sdk1.4.1/./jre/lib/sparc /opt/oracle/produ ct/9.0.1/lib uname -a: SunOS hera.eng.clearway.com 5.8 Generic sun4u sparc SUNW,Ultra-60 gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib -R/usr/local/gcc-3.2.1/lib/gcc -lib/sparc-sun-solaris2.8/3.2.1 -L/usr/local/gcc-3.2.1/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1 -R/opt/j2sdk1.4. 1/./jre/lib/sparc/server -L/opt/j2sdk1.4.1/./jre/lib/sparc/server -R/opt/j2sdk1.4.1/./jre/lib/sparc/native_thr eads -L/opt/j2sdk1.4.1/./jre/lib/sparc/native_threads -R/opt/j2sdk1.4.1/./jre/lib/sparc -L/opt/j2sdk1.4.1/./jr e/lib/sparc -R/opt/oracle/product/9.0.1/lib -L/opt/oracle/product/9.0.1/lib conftest.c -lcrypt -lresolv -lreso lv -lm -ldl -lnsl -lsocket -lsocket -lgcc -lcrypt -lnsl -lsocket -lgen -ldl -lclntsh 1>&5 ld: fatal: library -lclntsh: not found ld: fatal: File processing errors. No output written to conftest collect2: ld returned 1 exit status My LD_LIBRARY_PATH variable is "/opt/oracle/product/9.0.1/lib:/opt/oracle/product/9.0.1/rdbms/lib". The Oracle home directory is "/opt/oracle/product/9.0.1". An "ls -l" on the "/opt/oracle/product/9.0.1/lib" directory gives output that includes the following files: lrwxrwxrwx 1 oracle dba 16 Jan 21 18:31 libclntsh.so -> libclntsh.so.9.0 -rwxr-xr-x 1 oracle dba 15185920 Dec 4 12:33 libclntsh.so.9.0 -rw-r--r-- 1 oracle dba 22884596 Dec 4 12:36 libclntst9.a I believe the "lclntsh" that the debug.log says is missing is these files above. Can someone give me some hint as to what I might be doing wrong? Thanks you!!! John -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php