List:MySQL++« Previous MessageNext Message »
From:Kevin Regan Date:July 15 2008 6:08pm
Subject:zlib and MySQL bug #34231
View as plain text  
I was using MySQL v5.0.51a (current community version is 5.0.51b).  My
company just upgraded to Enterprise (v5.0.64) and we are seeing linking
problems with MySQL++ for zlib symbols.  The specific problem is related
to this MySQL bug:
Here is the part of the MySQL++ build that fails:

gcc -shared coldata.lo connection.lo datetime.lo fields.lo
field_names.lo field_types.lo manip.lo myset.lo qparms.lo query.lo
result.lo row.lo sql_string.lo string_util.lo type_info.lo vallist.lo
ent.a -Wl,--no-whole-archive -L/usr/lib -lssl
-Wl,-soname -Wl, -o .libs/
ent.a(adler32.o)(.text+0x0): In function `adler32':	 
r32.c:61: multiple definition of `adler32'	 
m-5.0.64/zlib/adler32.c:61: first defined here
This is listed as a "Won't fix" on the MySQL site.  In previous versions
the zlib definitions were not included in the libmysqlclient.a library.
Is this a known issue?  Are there any patches available to get MySQL++
compiling again?

zlib and MySQL bug #34231Kevin Regan15 Jul
  • Re: zlib and MySQL bug #34231Warren Young16 Jul
    • Re: zlib and MySQL bug #34231Warren Young22 Jul
  • RE: zlib and MySQL bug #34231Kevin Regan16 Jul