#23369 [Opn->Csd]: Compile problem with Oracle 9
ID: 23369
Updated by: sniper@php.net
Reported By: renneyt at yahoo dot com
-Status: Open
+Status: Closed
Bug Type: Compile Failure
Operating System: Solaris7
PHP Version: 4.3.2RC1
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2003-04-27 05:17:42] michael dot mauch at gmx dot de
Apparently, these functions are only available in Oracle 9.2
<http://www.csis.gvsu.edu/GeneralInfo/Oracle/server.920/a96529/ch8.htm>.
If you can't upgrade to 9.2, you could probably find the line
#define HAVE_OCI9 1
in the configure script and change it to
#undef HAVE_OCI9
This HAVE_OCI9 is only used to make use of OCINlsCharSetNameToId() and
OCIEnvNlsCreate(), so there should not be any other drawbacks.
------------------------------------------------------------------------
[2003-04-26 22:57:04] renneyt at yahoo dot com
To be more exact:
Oracle 9.0.1.3.0
gcc version 2.95.3 20010315 (release)
SunOS 5.7 Generic_106541-24 sun4u sparc SUNW,Ultra-4
------------------------------------------------------------------------
[2003-04-26 22:50:35] renneyt at yahoo dot com
I have Oracle 9 installed. Compiles fine with Oracle 8.
I get the following when I use --enable-oci8.
Undefined first referenced
symbol in file
OCIEnvNlsCreate ext/oci8/oci8.o
OCINlsCharSetNameToId ext/oci8/oci8.o
ld: fatal: Symbol referencing errors. No output written to
sapi/cli/php
collect2: ld returned 1 exit status
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23369&edit=1
Thread (4 messages)