ID:               27991
 Updated by:       [EMAIL PROTECTED]
 Reported By:      alex at 2e-systems dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: linux
 PHP Version:      4.3.5
 New Comment:

Please, check your OCI headers (they are probably in
$ORACLE_HOME/rdbms/demo) and tell me: does your libclntsh.so export
OCINlsCharSetNameToId function? (nm libclntsh.so | grep
OCINlsCharSetNameToId)


Previous Comments:
------------------------------------------------------------------------

[2004-04-14 09:45:14] alex at 2e-systems dot com

its oci.h of course, not oci8.h

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

[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] [EMAIL PROTECTED]

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

Reply via email to