ID: 29597 Updated by: [EMAIL PROTECTED] Reported By: sonny at sun dot com -Status: Open +Status: Closed Bug Type: Compile Failure Operating System: RHEL 3 PHP Version: 5.0.0 New Comment:
This have already been fixed in CVS. You can get a snapshot from http://snaps.php.net or wait until 5.0.1 is released. Previous Comments: ------------------------------------------------------------------------ [2004-08-10 13:19:29] sonny at sun dot com Description: ------------ Compile fails on RHEL 3 i386. collect2: ld returned 1 exit status make: *** [libphp5.la] Error 1 Does not return more informations. Configure works fine. Used Versions: - PHP 5.0.0 - Redhat Advanced Server 3u3 i386 - gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-34) - GNU Make version 3.79.1 Reproduce code: --------------- See above versions of tools. Configure: env LIBS="-lfreetype -lpng -ljpeg -lz -lnsl"; IMAP_SHARED_LIBADD=-lc-client; ./configure --prefix=/usr/local/php5 --with-config-file-path=/usr/local/php5 --disable-debug --enable-pic --enable-trans-sid --disable-rpath --enable-zend-multibyte --enable-memory-limit --enable-yp --with-xsl --with-expat-dir=/usr --with-libexpat-dir=/usr --with-libxml-dir=/usr --enable-sysvshm --enable-sysvsem --enable-sysvmsg --enable-sqlite-utf8 --enable-sockets --enable-soap --with-openssl-dir=/usr --enable-shmop --with-readline --with-pgsql=shared --enable-pcntl --with-oci8=/oracle/product/9.2.0.4 --with-zlib-dir=/usr --with-mysql=/usr/local/mysql --with-mnogosearch=/usr/local/mnogosearch --with-mhash=/usr/local --enable-mbstring --with-ldap=shared --with-ldap-sasl --with-imap=shared --with-imap-ssl --with-kerberos=/usr/kerberos --with-gettext --with-gd --enable-dio --enable-exif --enable-ftp --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-curl --with-curlwrappers --enable-calendar --with-bz2 --with-zlib --enable-bcmath --disable-short-tags --enable-magic-quotes --enable-sigchild --disable-path-info-check --enable-fastcgi --enable-force-cgi-redirect --with-apxs2=/usr/sbin/apxs --with-apxs2filter=/usr/sbin/apxs --enable-versioning --with-inifile --with-flatfile --with-db4=/usr --enable-magic-quotes --disable-short-tags --enable-cli Expected result: ---------------- working and final make Actual result: -------------- Break here: /usr/local/mnogosearch/lib/libudmsearch.a(files.o)(.text+0x1f7c): In function `UdmFreeUrlRes': /software/compile/mnogosearch-3.1.21/src/files.c:843: multiple definition of `UdmFreeUrlRes' /usr/local/mnogosearch/lib/libudmsearch.a(sql.o)(.text+0x3b84):/software/compile/mnogosearch-3.1.21/src/sql.c:3262: first defined here /usr/bin/ld: Warning: size of symbol `UdmFreeUrlRes' changed from 38 in /usr/local/mnogosearch/lib/libudmsearch.a(sql.o) to 5 in /usr/local/mnogosearch/lib/libudmsearch.a(sql.o) collect2: ld returned 1 exit status make: *** [libphp5.la] Error 1 Same error if remove mngosearch from configure. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29597&edit=1