sckoobs Posted December 1, 2006 Share Posted December 1, 2006 I'm currently trying to compile php 4.4.4 with the mysql 5.0.27 headers (i.e. I have specified a directory where the mysql headers are on my machine instead of using the default ones that are built into php).Everything configured ok, but when I try to make php I'm getting a series of multiple definition errors similar to that show below:[code]/usr/local/mysql/lib/mysql/libz.a(adler32.o): In function `adler32':adler32.c:(.text+0x0): multiple definition of `adler32'/usr/local/mysql/lib/mysql/libz.a(adler32.o):adler32.c:(.text+0x0): first defined here/usr/local/mysql/lib/mysql/libz.a(adler32.o): In function `adler32_combine':adler32.c:(.text+0x390): multiple definition of `adler32_combine'/usr/local/mysql/lib/mysql/libz.a(adler32.o):adler32.c:(.text+0x390): first defined here/usr/local/mysql/lib/mysql/libz.a(compress.o): In function `compressBound':compress.c:(.text+0x0): multiple definition of `compressBound'[/code]There's a lot more output. I understand what its saying and have managed to find a post somewhere on the net regarding duplicated libs that mysql or php includes but it didn't elaborate on a solution.I'd really like to stick with the most up-to-date versions of both packages but realise that I may have to go back to an earlier mysql or php version.Has anyone else encountered this problem and know how I might be able to fix it?Thanks in advance,Andy Quote Link to comment https://forums.phpfreaks.com/topic/29139-php-444-mysql-5027-php-make-error-adler32-compress-crc32/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.