Compilation against MySQL's binary tarball fails
Brought to you by:
angusgb
This is a problem raised by Jude Insley
<jude@widearea.co.uk> on htcheck-help mailing list.
The problem is that MySQL's binary tarball does not
come with any shared library and the libraries are
linked against zlib for compression.
libmysqlclient.a
libmysqlclient_r.a
ht://Check therefore must be statically linked to
libmysqlclient (--disable-shared).
I guess we should issue some deeper configure checks in
order automatise this.
Anyway the real problem is that we should pass the
compiler the '-lz' flag. In order to make it work I
just edited the htcheck/Makefile this way:
LDFLAGS = -lz
-Gabriele