Bug #47225 ndbd complains about missing libzlt.la when using system zlib
Submitted: 9 Sep 2009 17:52 Modified: 24 Sep 2009 15:16
Reporter: Michael Richard Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:mysql-5.1-telco-7.0 OS:Linux
Assigned to: CPU Architecture:Any
Tags: 7.0.6

[9 Sep 2009 17:52] Michael Richard
Description:
When compiled --with-ndbcluster and --with-zlib-dir=/usr, ndbd raises an error:

make[6]: *** No rule to make target `../../../../zlib/libzlt.la', needed by `ndbd'.  Stop.

How to repeat:
First see #47223 in order to use --with-zlib-dir=/usr

./configure --with-ndbcluster --with-zlib-dir=/usr
make

Suggested fix:
I've been able to compile by either removing dependency to libzlt.la or manually compiling bundled zlib, but I'm not to sure about the impact of doing so.
[9 Sep 2009 20:43] Sveta Smirnova
Thank you for the report.

I can not repeat described behavior with current development sources. Please try in your environment current BZR tree from https://code.launchpad.net/~mysql/mysql-server/mysql-cluster-7.0 and inform us if problem still exists.
[10 Sep 2009 13:54] Michael Richard
I've been able to reproduce it using the current BZR tree and the patch provided in bug #47223.
[15 Sep 2009 10:21] Sveta Smirnova
Thank you for the feedback.

Verified as described. (I forgot to remove libzlt.la from my source directory last time).
[24 Sep 2009 15:16] Bernd Ocklin
Same cause like bug#47223.