ID: 25351 Updated by: [EMAIL PROTECTED] Reported By: email at hansanderson dot com -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: Linux 2.4.9-31.2RS PHP Version: 4.3.3 New Comment:
You propably have some old yaz headers/libs somewhere in you system. PHP with yaz 2.0.4 compiles fine for me. --with-png-dir=/usr/lib is wrong, it should be just '/usr' (drop the 'lib' from it) --with-imap-ssl=/usr/bin is also wrong, same as above, just '/usr' as path. Previous Comments: ------------------------------------------------------------------------ [2003-09-01 23:50:30] email at hansanderson dot com Description: ------------ ext/yaz/php_yaz.o: In function `yaz_association_destroy': /root/src/php-4.3.3/ext/yaz/php_yaz.c:94: undefined reference to `ZOOM_package_destroy' ext/yaz/php_yaz.o: In function `zif_yaz_itemorder': /root/src/php-4.3.3/ext/yaz/php_yaz.c:1126: undefined reference to `ZOOM_package_destroy' /root/src/php-4.3.3/ext/yaz/php_yaz.c:1127: undefined reference to `ZOOM_connection_package' /root/src/php-4.3.3/ext/yaz/php_yaz.c:1128: undefined reference to `ZOOM_package_send' ext/yaz/php_yaz.o: In function `zif_yaz_es_result': /root/src/php-4.3.3/ext/yaz/php_yaz.c:1212: undefined reference to `ZOOM_package_option_get' collect2: ld returned 1 exit status make: *** [sapi/cgi/php] Error 1 PHP 4.3.3 (just downloaded) Yaz 2.0.3 (just downloaded) Also with PHP 4.3.1 and Yaz 2.0. Yaz 2.0 used to work with PHP < 4.3.1 (don't recall which, but upgrading to 4.3.1 broke it). Tried it without IMAP (and imap-ssl and kerberos) as previous bugs indicated it was a problem, but same error. Configure: ./configure --prefix=/usr --enable-exif --with-xml --with-zlib --enable-ftp \ --with-png-dir=/usr/lib --with-gd --with-curl=/usr --with-mysql=/usr --enable-dba \ --with-gdbm --with-imap=/usr/local/include --with-kerberos --with-imap-ssl=/usr/bin \ --with-gettext --enable-mbstring --with-freetype-dir=/usr \ --with-yaz=/usr/local/bin ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25351&edit=1