|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39167 oci8 compile with php on SunOS fails with undeclared symbol
Submitted: 2006-10-16 16:00 UTC Modified: 2006-10-17 08:15 UTC
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: djdman2000 at hotmail dot com Assigned:
Status: Wont fix Package: Compile Failure
PHP Version: 4.4.4 OS: SunOS 5.9
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: djdman2000 at hotmail dot com
New email:
PHP Version: OS:


 [2006-10-16 16:00 UTC] djdman2000 at hotmail dot com
Issue make statement and receive:

/bin/sh /tmp/tomtmp/php-4.4.4/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/oci8/ -I/tmp/tomtmp/php-4.4.4/ext/oci8/ -DPHP_ATOM_INC -I/tmp/tomtmp/php-4.4.4/include -I/tmp/tomtmp/php-4.4.4/main -I/tmp/tomtmp/php-4.4.4 -I/u03/oracle/product/oas101202mt_test/rdbms/public -I/u03/oracle/product/oas101202mt_test/rdbms/demo -I/u03/oracle/product/oas101202mt_test/plsql/public -I/tmp/tomtmp/php-4.4.4/ext/xml/expat -I/tmp/tomtmp/php-4.4.4/TSRM -I/tmp/tomtmp/php-4.4.4/Zend  -D_POSIX_PTHREAD_SEMANTICS  -g -O2   -c /tmp/tomtmp/php-4.4.4/ext/oci8/oci8.c -o ext/oci8/oci8.lo
/tmp/tomtmp/php-4.4.4/ext/oci8/oci8.c: In function `_oci_open_session':
/tmp/tomtmp/php-4.4.4/ext/oci8/oci8.c:2190: `OCI_NLS_CHARSET_ID' undeclared (first use in this function)
/tmp/tomtmp/php-4.4.4/ext/oci8/oci8.c:2190: (Each undeclared identifier is reported only once
/tmp/tomtmp/php-4.4.4/ext/oci8/oci8.c:2190: for each function it appears in.)
*** Error code 1
make: Fatal error: Command failed for target `ext/oci8/oci8.lo'

in the oci.h, there is a similar line: #define OCI_NLS_CHARACTER_SET 55                       /* Character set name */

Reproduce code:
bash-2.05$ make

Expected result:
Expect the binary to be built


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-10-17 08:15 UTC]
Please use OCI8 from PECL.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sun May 29 02:05:45 2022 UTC