Bug #49574 undefined reference to ... libwrap problem
Submitted: 10 Dec 2009 8:05 Modified: 11 Dec 2009 9:17
Reporter: Marco Tusa Email Updates:
Status: Verified Impact on me:
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: 5.1.39, 7.0.9b, libwrap

[10 Dec 2009 8:05] Marco Tusa
This is a regression bug see http://bugs.mysql.com/bug.php?id=41918 for details.

Anyhow it pops up again in :
While compiling the Johan's sizer and also my code 

make[2]: Entering directory `/www/COMMON/src/sizer-0.29/src'
g++ -Wall -fno-strict-aliasing  -g -O2 -I/usr/local/mysql-cluster/include/mysql 
-DUNIV_LINUX -I/usr/local/mysql-cluster/include/mysql/storage/ndb
-I/usr/local/mysql-cluster/include/mysql  -rdynamic -L/usr/local/mysql-cluster/lib/mysql
-lmysqlclient_r -lz -lrt -lpthread -lcrypt -lnsl -lm -lpthread -lndbclient -lmystrings
-lmysys  -o sizer  sizer.o  
/usr/local/mysql-cluster/lib/mysql/libndbclient.so: undefined reference to `eval_client'
/usr/local/mysql-cluster/lib/mysql/libndbclient.so: undefined reference to
/usr/local/mysql-cluster/lib/mysql/libndbclient.so: undefined reference to `sock_host'

How to repeat:
Just compile a client after having add --with-libwrap in mysql server compilation
[11 Dec 2009 9:17] Sveta Smirnova
Thank you for the report.

Verified as described.