#34129 [NEW]: make Error on libphp5.la
| From: | hk dot charles at gmail dot com | Date: | Sun, 14 Aug 2005 15:22:27 +0000 |
| Subject: | #34129 [NEW]: make Error on libphp5.la | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-83561@lists.php.net to get a copy of this message | ||
From: hk dot charles at gmail dot com
Operating system: Debian GNU/Linux 3.1r0 (Sarge)
PHP version: 5.0.4
PHP Bug Type: Compile Failure
Bug description: make Error on libphp5.la
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 bug report at http://bugs.php.net/?id=34129&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34129&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34129&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34129&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=34129&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=34129&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=34129&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=34129&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=34129&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=34129&r=support
Expected behavior: http://bugs.php.net/fix.php?id=34129&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=34129&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=34129&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=34129&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34129&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=34129&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=34129&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=34129&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=34129&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=34129&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=34129&r=mysqlcfg