#23369 [Com]: Compile problem with Oracle 9
ID: 23369
Comment by: michael dot mauch at gmx dot de
Reported By: renneyt at yahoo dot com
Status: Open
Bug Type: Compile Failure
Operating System: Solaris7
PHP Version: 4.3.2RC1
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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)