#27991 [Opn->Bgs]: oci8 compile with oracle client v9.2.0 on Linux fails with undeclared symbol

From: Date: Wed, 14 Apr 2004 14:18:46 +0000
Subject: #27991 [Opn->Bgs]: 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-58125@lists.php.net to get a copy of this message
ID: 27991 Updated by: tony2001@php.net Reported By: alex at 2e-systems dot com -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: linux PHP Version: 4.3.5 New Comment: Yes, it seems to me so. At least, this constant is defined in oci.h of the same Oracle client. I'm marking this bug as bogus, feel free to reopen it when you have an additional info. Previous Comments: ------------------------------------------------------------------------ [2004-04-14 10:09:48] alex at 2e-systems dot com > nm libclntsh.so | grep OCINlsCharSetNameToId 0019ca30 T OCINlsCharSetNameToId its there. So I guess I have wrong includes. ------------------------------------------------------------------------ [2004-04-14 09:55:09] tony2001@php.net 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) ------------------------------------------------------------------------ [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] 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 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/27991 -- Edit this bug report at http://bugs.php.net/?id=27991&edit=1

« previous php.bugs (#58125) next »