Thanks for the advice. I fixed this by removing the "-lz" in lib/Makefile.in. You can
see from the bug report that MySQL was not too interested in fixing/changing this, so an
autoconf test would be greatly appreciated.
From: Warren Young [mailto:mysqlpp@stripped]
Sent: Tue 7/15/2008 7:16 PM
To: MySQL++ Mailing List
Subject: Re: zlib and MySQL bug #34231
Kevin Regan wrote:
> multiple definition of `adler32'
The proper fix is probably to add an autoconf test to see if -lz is
needed to link against -lmysqlclient or not. This doesn't help the
Windows users, but maybe this problem doesn't occur on Windows?
In the meantime, you can just remove all the "-lz" instances from
Makefile.in, re-run configure, and it should then build. Let us know
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsub=1