PHP 4.0 Bug #6998: C Compiler cannot create executables

From: Date: Wed, 04 Oct 2000 02:10:08 +0000
Subject: PHP 4.0 Bug #6998: C Compiler cannot create executables
Groups: php.dev 
Request: Send a blank email to php-dev+get-34156@lists.php.net to get a copy of this message
From: mark.faine@msfc.nasa.gov Operating system: Solaris 2.6 PHP version: 4.0 Latest CVS (03/10/2000) PHP Bug Type: *Install and Config Bug description: C Compiler cannot create executables 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

« previous php.dev (#34156) next »