My Oracle Support Banner

OCILOBREAD2 cannot Be Compiled in 32-Bit Installations. Error: "parse error before oraub8" (Doc ID 443830.1)

Last updated on MAY 07, 2020

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 10.1 to 10.2]
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
HP-UX PA-RISC (64-bit)
This will affect php installations/configurations on HP-UX 64 bit, using oci libraries provided with Oracle Database versions:,,


Configuring PHP with oci8 provided with, or database software (64 bit), on HP-UX 64bit.

Gmake version in the system is 32 bit.

When running the 'configure' command to setup PHP, on compiling time the following error is displayed (this is stack from a php 4.4.7 config):

gcc -Iext/oci8/ -I/opt/php-4.4.7/ext/oci8/ -DPHP_ATOM_INC -I/opt/php-4.4.7/include
-I/opt/php-4.4.7 -IORACLE_HOME/rdbms/public
rdbms/demo -IORACLE_HOME/plsql/public -I/opt/php-4.4.7/ext/xml/expat
4.7/TSRM -I/opt/php-4.4.7/Zend -D_XOPEN_SOURCE_EXTENDED -g -O2 -c
/opt/php-4.4.7/ext/oci8/oci8.c -o ex
t/oci8/oci8.o && echo > ext/oci8/oci8.lo
In file included from /opt/php-4.4.7/ext/oci8/oci8.c:50:
/opt/php-4.4.7/ext/oci8/php_oci8_int.h:343: error: parse error before "oraub8"
gmake:  *** [ext/oci8/oci8.lo] Error 1




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.