Menu

#19 Compilation against MySQL's binary tarball fails

open
Compilation (6)
5
2003-07-01
2003-07-01
No

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

Discussion


Log in to post a comment.

MongoDB Logo MongoDB