ID: 35682 Updated by: [EMAIL PROTECTED] Reported By: necat at digicol dot de -Status: Open +Status: Feedback Bug Type: OCI8 related Operating System: ia64-hp-hpux11.23 PHP Version: 5.1.1 New Comment:
New OCI8 is available through PECL and you can use it with (almost) any PHP version, including 4.4.x. Regarding the problem with SHLIB_SUFFIX_NAME - do you know where did they change the suffix? Previous Comments: ------------------------------------------------------------------------ [2005-12-21 09:50:15] necat at digicol dot de Hi, thank you very much it works :-) php 4.1.1 has some problem, it could be great when you fix it too. What do think about suffix problem? Configure goes continue, When I change the line *hpux*) SHLIB_SUFFIX_NAME=sl to *hpux*) SHLIB_SUFFIX_NAME=so Regards, N.Kutlar ------------------------------------------------------------------------ [2005-12-19 15:48:37] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.1-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.1-win32-latest.zip And please check that you've set ORACLE_HOME env variable and it points to the right dir. ------------------------------------------------------------------------ [2005-12-19 15:38:00] necat at digicol dot de GDB backtrace ============= Script started on Mon Dec 19 15:16:29 2005 $ /opt/langtools/bin/gdb php core HP gdb 5.2.03 for HP Itanium (32 or 64 bit) and target HP-UX 11.2x. Copyright 1986 - 2001 Free Software Foundation, Inc. Hewlett-Packard Wildebeest 5.2.03 (based on GDB) is covered by the GNU General Public License. Type "show copying" to see the conditions to change it and/or distribute copies. Type "show warranty" for warranty/support. .. Core was generated by `php'. Program terminated with signal 11, Segmentation fault. SEGV_MAPERR - Address not mapped to object warning: Load module /usr/local/lib/hpux32/libgdbm.so has been stripped. Debugging information is not available. warning: Load module /usr/local/lib/hpux32/libz.so has been stripped. Debugging information is not available. warning: Load module /dc5/home/appdc5/oracle/ORAHOME/lib32/libclntsh.so.10.1 has been stripped. Debugging information is not available. warning: Load module /usr/local/lib/hpux32/libxml2.so has been stripped. Debugging information is not available. warning: Load module /usr/local/lib/hpux32/libpthread.so has been stripped. Debugging information is not available. warning: Load module /usr/local/lib/hpux32/libiconv.so has been stripped. Debugging information is not available. warning: Load module /dc5/home/appdc5/oracle/ORAHOME/lib32/libnnz10.so has been stripped. Debugging information is not available. #0 0x60000000c1f25910:1 in pth_mutex_acquire+0x61 () from /usr/local/lib/hpux32/libpthread.so (gdb) bt #0 0x60000000c1f25910:1 in pth_mutex_acquire+0x61 () from /usr/local/lib/hpux32/libpthread.so #1 0x60000000c1f14a60:0 in pthread_mutex_lock+0xf0 () from /usr/local/lib/hpux32/libpthread.so #2 0x60000000c6d91cc0:0 in sltsima+0x40 () from /dc5/home/appdc5/oracle/ORAHOME/lib32/libclntsh.so.10.1 #3 0x60000000c672b9a0:0 in kpummpin+0x60 () from /dc5/home/appdc5/oracle/ORAHOME/lib32/libclntsh.so.10.1 #4 0x60000000c56d4620:0 in kpupin+0xa0 () from /dc5/home/appdc5/oracle/ORAHOME/lib32/libclntsh.so.10.1 #5 0x60000000c580d4e0:0 in OCIInitialize+0x40 () from /dc5/home/appdc5/oracle/ORAHOME/lib32/libclntsh.so.10.1 #6 0x43954d0:0 in zm_startup_oci (type=1, module_number=13) at /dc5/home/appdc5/Sourcen/php-5.1.1/ext/oci8/oci8.c:638 #7 0x4721360:0 in zend_startup_module_ex () at /dc5/home/appdc5/Sourcen/php-5.1.1/Zend/zend_API.c:1341 #8 0x472a890:0 in zend_hash_apply (apply_func=0x7a95eeb8) at /dc5/home/appdc5/Sourcen/php-5.1.1/Zend/zend_hash.c:664 #9 0x4719690:0 in zend_startup_modules () at /dc5/home/appdc5/Sourcen/php-5.1.1/Zend/zend_API.c:1388 #10 0x46774e0:0 in php_module_startup () at /dc5/home/appdc5/Sourcen/php-5.1.1/main/main.c:1533 #11 0x48cd7f0:0 in main () at /dc5/home/appdc5/Sourcen/php-5.1.1/sapi/cli/php_cli.c:655 (gdb) quit $ exit script done on Mon Dec 19 15:17:08 2005 ------------------------------------------------------------------------ [2005-12-15 15:20:25] [EMAIL PROTECTED] 1) "checking checking if we're at 64-bit platform... no" This looks kinda suspicious, Try this: rm config.cache ./configure ... make 2) Please show the GDB backtrace. ------------------------------------------------------------------------ [2005-12-15 15:15:11] necat at digicol dot de Description: ------------ Hi, oracle client version 10.1 is installed. I configured apache version 1.3.34 and then configured php version 5.1.1 with oci8 and some other options that we need. php configure gives the following messages: checking for Oracle (OCI8) support using ORACLE_HOME installation... yes checking Oracle Install Directory... /dc5/home/appdc5/oracle/ORAHOME checking size of long int... (cached) 4 checking checking if we're at 64-bit platform... no checking OCI8 libraries dir... lib32 checking Oracle version... configure: error: Oracle-OCI8 needed libraries not found Reproduce code: --------------- when I change SHLIB_SUFFIX_NAME=sl to SHLIB_SUFFIX_NAME=so in configure file, configure has no problem. Oracle Client installation has on this machine no sl libraries. case $host_alias in *hpux*) SHLIB_SUFFIX_NAME=sl ;; and the compiling of code is successfully. But when I call php binary like php -v or php -i gives segmentation fault. Actual result: -------------- [EMAIL PROTECTED]:/dc5/home/appdc5/Sourcen/php-5.1.1/sapi/cli>./php -v Segmentation fault (core dumped) [EMAIL PROTECTED]:/dc5/home/appdc5/Sourcen/php-5.1.1/sapi/cli>./php -i Segmentation fault (core dumped) Regards, N.Kutlar ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35682&edit=1