ID: 35563 User updated by: edo at edo dot cl Reported By: edo at edo dot cl -Status: Feedback +Status: Open Bug Type: MySQL related Operating System: solaris 8 PHP Version: 4.4.1 New Comment:
Dear tony, but i need to build PHP with support for c-client (horde) and support for phpmyadmin in the same machine, in 4.4.1 don't have this problem at build with this version or previus c-client libs, Thanks in advance Edo. Previous Comments: ------------------------------------------------------------------------ [2005-12-07 10:57:45] [EMAIL PROTECTED] I'm sure IMAP is not required to get the GDB backrace. ------------------------------------------------------------------------ [2005-12-07 00:00:12] edo at edo dot cl I've downloaded the snapshot, but now i have lot of new errors for linking c-client imap-wu library (required for horde support): [EMAIL PROTECTED]:~/work5/php5.1-200512061130#./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mod_charset --enable-force-cgi-redirect --enable-fastcgi --enable-safe-mode --enable-sigchild --enable-magic-quotes --with-openssl=/usr/local/ssl --enable-calendar --with-dom=/usr/local --with-flatfile --enable-ftp --with-iconv --with-iconv-dir=/usr/local/lib --with-imap=../imap-2004g --with-java=/usr/java1.2 --with-openssl-dir=/usr/local/ssl --with-mime-magic --enable-soap --with-mysql=/usr/local/mysql --with-mysql-sock=/tmp/mysql.sock --enable-sockets --enable-sysvmsg --enable-sysvsem --enable-sysvshm --with-gettext=/usr --with-zlib --with-zlib-dir=/usr --enable-mbstring --enable-mbstring-enc-trans --with-iconv=/usr/local --enable-memory-limit The linking process failed like this: strtod.lo Zend/zend_objects.lo Zend/zend_object_handlers.lo Zend/zend_objects_API.lo Zend/zend_mm.lo Zend/zend_default_classes.lo Zend/zend_execute.lo sapi/apache2handler/mod_php5.lo sapi/apache2handler/sapi_apache2.lo sapi/apache2handler/apache_config.lo sapi/apache2handler/php_functions.lo main/internal_functions.lo -lcrypt -lc-client -lmysqlclient -lcrypt -lpam -liconv -lintl -lssl -lcrypto -lz -lssl -lcrypto -lresolv -lm -ldl -lsocket -lnsl -lgcc -lxml2 -lz -liconv -lm -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl -lcrypt -o libphp5.la Text relocation remains referenced against symbol offset in file <unknown> 0x2b2c /export/home/broot/work5/imap-2004g/lib/libc-client.a(osdep.o) <unknown> 0x2b30 /export/home/broot/work5/imap-2004g/lib/libc-client.a(osdep.o) <unknown> 0x2b34 /export/home/broot/work5/imap-2004g/lib/libc-client.a(osdep.o) <unknown> 0x2b38 /export/home/broot/work5/imap-2004g/lib/libc-client.a(osdep.o) <unknown> 0x2b3c /export/home/broot/work5/imap-2004g/lib/libc-client.a(osdep.o) <unknown> 0x2b40 /export/home/broot/work5/imap-2004g/lib/libc-client.a(osdep.o) <unknown> 0x2b44 /export/home/broot/work5/imap-2004g/lib/libc-client.a(osdep.o) <unknown> 0x2b48 /export/home/broot/work5/imap-2004g/lib/libc-client.a(osdep.o) <unknown> 0x2b4c /export/home/broot/work5/imap-2004g/lib/libc-client.a(osdep.o) <unknown> 0x2b50 /export/home/broot/work5/imap-2004g/lib/libc-client.a(osdep.o) <unknown> 0x2b54 /export/home/broot/work5/imap-2004g/lib/libc-client.a(osdep.o) [ lot of errors] time 0x25f8 /export/home/broot/work5/imap-2004g/lib/libc-client.a(mh.o) time 0x2658 /export/home/broot/work5/imap-2004g/lib/libc-client.a(mx.o) time 0x2868 /export/home/broot/work5/imap-2004g/lib/libc-client.a(mx.o) time 0x1c0 /export/home/broot/work5/imap-2004g/lib/libc-client.a(netmsg.o) fcntl 0x795c /export/home/broot/work5/imap-2004g/lib/libc-client.a(osdep.o) fcntl 0x7978 /export/home/broot/work5/imap-2004g/lib/libc-client.a(osdep.o) fcntl 0x7b18 /export/home/broot/work5/imap-2004g/lib/libc-client.a(osdep.o) fcntl 0x96c0 /export/home/broot/work5/imap-2004g/lib/libc-client.a(osdep.o) ld: fatal: relocations remain against allocatable but non-writable sections collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `libphp5.la' The platform is sun4u 32bits with solaris8 and many GNU tools installed. The imap c-client library were made with/out SSL support and the error are the same. ------------------------------------------------------------------------ [2005-12-06 01:35:08] [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 ------------------------------------------------------------------------ [2005-12-06 01:04:26] edo at edo dot cl Just see the sql.php script into phpmyadmin > 2.6.x , in my situation uses 2.7.0 version . Anothe interesting point says that sql.php don't crashes if use another sql different of SELECT, so the problem maybe involves the mysql_fetch_* structure. ------------------------------------------------------------------------ [2005-12-06 00:51:39] [EMAIL PROTECTED] Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If possible, make the script source available online and provide an URL to it here. Try to avoid embedding huge scripts into the report. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/35563 -- Edit this bug report at http://bugs.php.net/?id=35563&edit=1