php.net |  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
Votes:1
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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: djdman2000 at hotmail dot com
New email:
PHP Version: OS:

 

 [2006-10-16 16:00 UTC] djdman2000 at hotmail dot com
Description:
------------
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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-10-17 08:15 UTC] tony2001@php.net
Please use OCI8 from PECL.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 15:01:34 2025 UTC