#27991 [Opn]: oci8 compile with oracle client v9.2.0 on Linux fails with undeclared symbol
| From: | alex at 2e-systems dot com | Date: | Wed, 14 Apr 2004 13:45:14 +0000 |
| Subject: | #27991 [Opn]: oci8 compile with oracle client v9.2.0 on Linux fails with undeclared symbol | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-58114@lists.php.net to get a copy of this message | ||
ID: 27991
User updated by: alex at 2e-systems dot com
Reported By: alex at 2e-systems dot com
Status: Open
Bug Type: Compile Failure
Operating System: linux
PHP Version: 4.3.5
New Comment:
its oci.h of course, not oci8.h
Previous Comments:
------------------------------------------------------------------------
[2004-04-14 09:38:09] alex at 2e-systems dot com
I did that already and it is not there. Just checked on another system
(solaris) and it is there in oci8.h. Hmmm... could be a screwup on my
side with the includes.
------------------------------------------------------------------------
[2004-04-14 09:28:29] tony2001@php.net
Please, locate your oci.h and try to find OCI_NLS_CHARSET_ID in it.
It should be defined there.
I've got the same Oracle/Oracle client version and oci.h contains this
line:
oci.h:2084:#define OCI_NLS_CHARSET_ID 93
------------------------------------------------------------------------
[2004-04-14 09:21:24] alex at 2e-systems dot com
Description:
------------
oracle client is v9.2.0
I've worked around it by #defining OCI_NLS_CHARSET_ID 0, and so far so
good, it works.
/web/soft/src/php-4.3.5/ext/oci8/oci8.c: In function
`_oci_open_session':
/web/soft/src/php-4.3.5/ext/oci8/oci8.c:2183: `OCI_NLS_CHARSET_ID'
undeclared (first use in this function)
/web/soft/src/php-4.3.5/ext/oci8/oci8.c:2183: (Each undeclared
identifier is reported only once
/web/soft/src/php-4.3.5/ext/oci8/oci8.c:2183: for each function it
appears in.)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27991&edit=1