PHP 4.0 Bug #6998 Updated: C Compiler cannot create executables

From: Date: Sat, 07 Oct 2000 00:03:33 +0000
Subject: PHP 4.0 Bug #6998 Updated: C Compiler cannot create executables
Groups: php.dev 
Request: Send a blank email to php-dev+get-34421@lists.php.net to get a copy of this message
ID: 6998 Updated by: sniper Reported By: mark.faine@msfc.nasa.gov Status: Feedback Bug Type: *Install and Config Assigned To: Comments: Does it work without --with-oci8 and --with-oracle? --Jani Previous Comments: --------------------------------------------------------------------------- [2000-10-03 22:10:08] mark.faine@msfc.nasa.gov This server has recently had some major upgrades, we went from Oracle 7.32 to Oracle 8.1.6 we also upgraded from NES 3.6 to iPlanet 4.0 but still I am having problems installing php. Ok, here are my configure options: Webserver is Iplanet 4.0 ./configure --with-nsapi=/raidb4/iPlanet/server --with-oracle (tried with and without) --with-oci8 --enable-sigchild --enable-libgcc --enable-magic-quotes --enable-track-vars --enable-trans-sid --enable-calendar --enable-ftp and here is the error message I am getting right around the Zend section of the configure: checking for c++... c++ checking whether the C++ compiler (c++ -R/usr/ucblib -L/usr/ucblib -R/usr/loca l/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2 -L/usr/local/lib/gcc-lib/sparc-sun-sol aris2.6/2.95.2 -R/raidb4/oracle8/product/8.1.6/lib -L/raidb4/oracle8/product/8.1 .6/lib) works... no configure: error: installation or configuration problem: C++ compiler cannot create executables. This is the error messages in the output of the debug.log file: /usr/local/bin/gcc -o conftest -O6 -pthreads -D_POSIX_PTHREAD_SEMANTICS -D_POSI X_PTHREAD_SEMANTICS -D_REENTRANT -R/usr/ucblib -L/usr/ucblib -R/usr/local/lib/g cc-lib/sparc-sun-solaris2.6/2.95.2 -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.6 /2.95.2 -R/raidb4/oracle8/product/8.1.6/lib -L/raidb4/oracle8/product/8.1.6/lib conftest.c -lclntsh -lsched -ldl -lgen -lsocket -lnsl -lclntsh -lsched -ldl -lge n -lsocket -lnsl -lresolv -lresolv -lm -ldl -lcrypt -lsocket -lsocket -lgcc 1>& 5 /usr/ccs/bin/ld: cannot open -lclntsh: No such file or directory collect2: ld returned 1 exit status Please help if you can, Thanks -Mark --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=6998

« previous php.dev (#34421) next »