ID: 42782 Updated by: [EMAIL PROTECTED] Reported By: dgrimes at scvl dot com -Status: Open +Status: Bogus Bug Type: OCI8 related Operating System: IA64 HPUX 11.23 PHP Version: 5.2.4 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. --------- The oraub8 issue is an Oracle bug (#4901517) on AIX and HP-UX 64 bit. See http://forums.oracle.com/forums/thread.jspa?messageID=1929534 for the workaround. --------- Previous Comments: ------------------------------------------------------------------------ [2007-09-28 13:57:22] dgrimes at scvl dot com If I change OCI8 in the configure statement to: --with-oci8=instantclient,$ORACLE_HOME/instantclient_10_2 I get the following after configure: +--------------------------------------------------------------------+ | *** ATTENTION *** | | | | Something is likely to be messed up here, because the configure | | script was not able to detect a simple feature on your platform. | | This is often caused by incorrect configuration parameters. Please | | see the file debug.log for error messages. | | | | If you are unable to fix this, send the file debug.log to the | | [EMAIL PROTECTED] mailing list and include appropiate | | information about your setup. | +--------------------------------------------------------------------+ This is what is in debug.log: gcc -o conftest -I/usr/local/include -g -O2 -D_XOPEN_SOURCE_EXTENDED -liconv -L /usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/dc_user01/app/oracle/produc t/10.2/instantclient_10_2 -L/dc_user01/app/oracle/product/10.2/instantclient_10_ 2 conftest.c -liconv -lz -lm -lnsl -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -l m -lclntsh -lnnz10 -lxml2 -lz -liconv -lm 1>&5 conftest.c: In function 'main': conftest.c:3: warning: incompatible implicit declaration of built-in function 'e xit' ld: Mismatched ABI for -lclntsh, found /dc_user01/app/oracle/product/10.2/instan tclient_10_2/libclntsh.so Fatal error. collect2: ld returned 1 exit status Thanks, Dean ------------------------------------------------------------------------ [2007-09-27 18:54:34] dgrimes at scvl dot com Description: ------------ Trying to compile PHP 5.2.4 with Oracle Instant Client 10.2 and I receive the following error: In file included from /dc_user01/dgrimes/cdev/php-5.2.4/ext/oci8/oci8.c:50: /dc_user01/dgrimes/cdev/php-5.2.4/ext/oci8/php_oci8_int.h:354: error: expected declaration specifiers or '...' before 'oraub8' /dc_user01/dgrimes/cdev/php-5.2.4/ext/oci8/php_oci8_int.h:354: error: expected declaration specifiers or '...' before 'oraub8' make: *** [ext/oci8/oci8.lo] Error 1 Reproduce code: --------------- Using GCC 4.2.1 GNU Make 3.81 configure \ --with-oci8=shared,instantclient,$ORACLE_HOME/instantclient_10_2 \ --with-zlib-dir=/usr/local \ --without-sqlite \ --without-pdo-sqlite \ --disable-reflection Expected result: ---------------- A php executable with Oracle support Actual result: -------------- Compile failure. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=42782&edit=1