php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25351 Yaz compile failure
Submitted: 2003-09-01 23:50 UTC Modified: 2007-04-04 20:06 UTC
From: email at hansanderson dot com Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 4.3.3 OS: Linux 2.4.9-31.2RS
Private report: No CVE-ID: None
 [2003-09-01 23:50 UTC] 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



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-09-06 10:38 UTC] sniper@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 12:01:32 2024 UTC