ID: 35242 User updated by: pawel at gmx dot net Reported By: pawel at gmx dot net -Status: Feedback +Status: Open Bug Type: OCI8 related Operating System: Linux Slackware 2.4.28 PHP Version: 5.1.0RC4 New Comment:
Reproduce code: -------------- 1. Download http://downloads.php.net/ilia/php-5.1.0RC4.tar.bz2 2. Unpack and remove ext/oci8 directory 3. Download http://pecl.php.net/get/oci8-1.1.1.tgz 4. Place contents of oci8-1.1.1 direcotry in ext/oci8 5. Execute: make clean ./buildconf --force ./configure --with-oci8=/usr/local/oracle make && make install Result: -------- ext/oci8/oci8.o(.text+0xb44): In function `php_oci_descriptor_flush_hash_dtor': /root/work/web/php-5.1.0/ext/oci8/oci8.c:749: undefined reference to `php_oci_lob_flush' ext/oci8/oci8.o(.text+0x24d5): In function `php_oci_column_to_zval': /root/work/web/php-5.1.0/ext/oci8/oci8.c:1479: undefined reference to `php_oci_lob_read' ext/oci8/oci8.o(.text+0x25f1): In function `php_oci_fetch_row': /root/work/web/php-5.1.0/ext/oci8/oci8.c:1560: undefined reference to `php_oci_statement_fetch' ext/oci8/oci8.o(.text+0x2750):/root/work/web/php-5.1.0/ext/oci8/oci8.c:1568: undefined reference to `php_oci_statement_get_column' ext/oci8/oci8.o(.text+0x9dd): In function `php_oci_statement_list_dtor': /root/work/web/php-5.1.0/ext/oci8/oci8.c:668: undefined reference to `php_oci_statement_free' ext/oci8/oci8.o(.text+0x9fd): In function `php_oci_descriptor_list_dtor': /root/work/web/php-5.1.0/ext/oci8/oci8.c:676: undefined reference to `php_oci_lob_free' ext/oci8/oci8.o(.text+0xa1d): In function `php_oci_collection_list_dtor': /root/work/web/php-5.1.0/ext/oci8/oci8.c:684: undefined reference to `php_oci_collection_close' ext/oci8/oci8.o(.data+0x4): undefined reference to `zif_oci_define_by_name' ext/oci8/oci8.o(.data+0x18): undefined reference to `zif_oci_bind_by_name' ext/oci8/oci8.o(.data+0x2c): undefined reference to `zif_oci_field_is_null' ext/oci8/oci8.o(.data+0x40): undefined reference to `zif_oci_field_name' [...] collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 Previous Comments: ------------------------------------------------------------------------ [2005-11-16 16:22:36] [EMAIL PROTECTED] Describe in details what exactly are you doing and how do you compile it. ------------------------------------------------------------------------ [2005-11-16 16:05:10] pawel at gmx dot net Description: ------------ This maybe a duplicate of http://bugs.php.net/bug.php?id=34995 but I cannot reopen it. The solution for the problem described allows me to compile OCI8 1.1.1 under PHP 5.0.5 but I receive the same errors as the original author under PHP 5.1.0RC4. I did completely remove ext/oci8 directory before replacing it whith PECL code. I also used ./buildconf --force option. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35242&edit=1