#34129 [Opn->Fbk]: make Error on libphp5.la
| From: | tony2001@php.net | Date: | Sun, 14 Aug 2005 17:44:16 +0000 |
| Subject: | #34129 [Opn->Fbk]: make Error on libphp5.la | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-83569@lists.php.net to get a copy of this message | ||
ID: 34129
Updated by: tony2001@php.net
Reported By: hk dot charles at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: Debian GNU/Linux 3.1r0 (Sarge)
PHP Version: 5.0.4
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2005-08-14 17:22:25] hk dot charles at gmail dot com
Description:
------------
I installed a clean debian system and put all things on by tarballs.
when I trying to compile PHP, it said error and exit.
I wonder is it related to libz or mysql. but both of them seems working
correctly and cooperate happily with depended software.
I have searched on googles and relate bug database but there is no
result same as mine one.
here is the configure option of php
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" \
./configure --prefix=/usr/local
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-openssl=/usr/local --with-zlib=/usr/local --with-gd=/usr/local
--enable-ftp \
--enable-mbstring --with-mysql=/usr/local
--with-mysqli=/usr/local/bin/mysql_config --with-ncurses=/usr/local
and the zlib (1.2.3) configure option
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" \
./configure --shared --prefix=/usr/local
and the mysql (4.1.13a) one
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fno-exceptions"
\
CXXFLAGS=""-march=pentium3 -O3 -pipe -static -fomit-frame-pointer
-fno-exceptions \
-fno-rtti" \
./configure --prefix=/usr/local --enable-assembler \
--with-charset=utf8 --with-extra-charsets=complex --with-zlib
Finally, sorry for my poor English.
Expected result:
----------------
Make should run successfully
Actual result:
--------------
(start with repeating lines below but different functions)
/usr/local/lib/mysql/libz.a(zutil.o(.text+0x40): In function`zcalloc':
: multiple definition of `zcalloc'
/usr/local/lib/mysql/libz.a(zutil.o(.text+0x40): first defined here
/usr/local/lib/mysql/libz.a(zutil.o(.text+0x60): In function`zcfre':
: multiple definition of `zcfree'
/usr/local/lib/mysql/libz.a(zutil.o(.text+0x60): first defined here
collect2: ld returned 1 exit status
make: *** [libphp5.la] error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34129&edit=1