php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6998 C Compiler cannot create executables
Submitted: 2000-10-03 22:10 UTC Modified: 2000-10-10 19:46 UTC
From: mark dot faine at msfc dot nasa dot gov Assigned:
Status: Closed Package: Installation problem
PHP Version: 4.0 Latest CVS (03/10/2000) OS: Solaris 2.6
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mark dot faine at msfc dot nasa dot gov
New email:
PHP Version: OS:

 

 [2000-10-03 22:10 UTC] mark dot faine at msfc dot nasa dot 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-06 20:03 UTC] sniper@php.net
Does it work without --with-oci8 and --with-oracle?

--Jani
 [2000-10-10 19:46 UTC] sniper@php.net
User feedback:
------------
I don't know, when I finally got it to compile I used both, I believe it
will work with only one (provided you have the correct Oracle libraries),
here is the configure line I used:
We actually do have both Oracle 7.32 and Oracle 8.1.6 but we are only using
Oracle 8.

------------

So is it working now or not? And is this bug report still valid?
As that error said, configure didn't find oracle libs. And if you
don't use path in --with-oci8 it searches for the libs from 
ORACLE_HOME defined path.

As it seems you have PHP4.0.2 up and working I will close this
bug report.


--Jani


--Jani
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Jul 09 11:00:01 2026 UTC