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

From: Date: Tue, 03 Oct 2000 14:21:58 +0000
Subject: Re: PHP 4.0 Bug #6998: C Compiler cannot create executables
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-34158@lists.php.net to get a copy of this message
Well it's making me out to be a liar now, I'm not sure if this fixed it for good but I put a symlink in /lib that points to the oracle library libclntsh.so.8.0, so at least it makes it through configure now. -Mark <mark.faine@msfc.nasa.gov> wrote in message news:20001004021008.20733.qmail@php2.chek.com... > 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/l ib/g > cc-lib/sparc-sun-solaris2.6/2.95.2 -L/usr/local/lib/gcc-lib/sparc-sun-solari s2.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 > > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.dev (#34158) next »