ID: 20977 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: Solaris 2.9 PHP Version: 4.3.0RC3 New Comment:
Are the yaz and c-client libs the same when you tried with PHP 4.2.3 ?? And this really isn't a PHP problem, both c-client and yaz libs use same names for their functions. You really should report this to either the authors of yaz or c-client.. Previous Comments: ------------------------------------------------------------------------ [2002-12-12 18:43:14] [EMAIL PROTECTED] With php-4.3.0RC3 on Solaris 2.9, the 'imap' and 'yaz' extensions seem to have a conflict. That is, I get compilation errors after the following configure command: configure --with-imap --with-yaz The make fails with: /bin/sh libtool --silent --mode=link gcc -export-dynamic -g -O2 -L/usr/ucblib -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/2.95.3 -L/usr/local/lib -R /usr/ucblib -R /usr/local/lib/gcc-lib/sparc-sun-solaris2.9/2.95.3 -R /usr/local/lib ext/ctype/ctype.lo ext/imap/php_imap.lo ext/mysql/php_mysql.lo ext/mysql/libmysql/libmysql.lo ext/mysql/libmysql/errmsg.lo ext/mysql/libmysql/net.lo ext/mysql/libmysql/violite.lo ext/mysql/libmysql/password.lo ext/mysql/libmysql/my_init.lo ext/mysql/libmysql/my_lib.lo ext/mysql/libmysql/my_static.lo ext/mysql/libmysql/my_malloc.lo ext/mysql/libmysql/my_realloc.lo ext/mysql/libmysql/my_create.lo ext/mysql/libmysql/my_delete.lo ext/mysql/libmysql/my_tempnam.lo ext/mysql/libmysql/my_open.lo ext/mysql/libmysql/mf_casecnv.lo ext/mysql/libmysql/my_read.lo ext/mysql/libmysql/my_write.lo ext/mysql/libmysql/errors.lo ext/mysql/libmysql/my_error.lo ext/mysql/libmysql/my_getwd.lo ext/mysql/libmysql/my_div.lo ext/mysql/libmysql/mf_pack.lo ext/mysql/libmysql/my_messnc.lo ext/mysql/libmysql/mf_dirname.lo ext/mysql/libmysql/mf_fn_ext.lo ext/mysql/libmysql/mf_wcomp.lo ext/mysql/libmysql/typelib.lo ext/mysql/libmysql/safemalloc.lo ext/mysql/libmysql/my_alloc.lo ext/mysql/libmysql/mf_format.lo ext/mysql/libmysql/mf_path.lo ext/mysql/libmysql/mf_unixpath.lo ext/mysql/libmysql/my_fopen.lo ext/mysql/libmysql/mf_loadpath.lo ext/mysql/libmysql/my_pthread.lo ext/mysql/libmysql/my_thr_init.lo ext/mysql/libmysql/thr_mutex.lo ext/mysql/libmysql/mulalloc.lo ext/mysql/libmysql/string.lo ext/mysql/libmysql/default.lo ext/mysql/libmysql/my_compress.lo ext/mysql/libmysql/array.lo ext/mysql/libmysql/my_once.lo ext/mysql/libmysql/list.lo ext/mysql/libmysql/my_net.lo ext/mysql/libmysql/dbug.lo ext/mysql/libmysql/strmov.lo ext/mysql/libmysql/strxmov.lo ext/mysql/libmysql/strnmov.lo ext/mysql/libmysql/strmake.l /usr/local/lib/libyaz.a(unix.o): In function `unix_close': /usr/local/src/yaz/yaz-1.9.2/comstack/unix.c:565: multiple definition of `unix_close' /usr/local/lib/libc-client.a(unix.o):/usr/local/src/imap/imap-2002.RC2/c-client/unix.c:437: first defined here /usr/local/sparc-sun-solaris2.9/bin/ld: Warning: size of symbol `unix_close' changed from 124 to 100 in unix.o collect2: ld returned 1 exit status gmake: *** [sapi/cgi/php-cgi] Error 1 However, 'configure --with-imap' and 'configure --with-yaz' each build without errors. Similarly, php4.2.3 does not have this problem with configured with both imap and yaz. Thanks. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20977&edit=1