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:
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: 5.1.39, 7.0.9b, libwrap

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

Anyhow it pops up again in :
 mysql-cluster-gpl-7.0.9b
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/storage/ndb/ndbapi
-I/usr/local/mysql-cluster/include/mysql/storage/ndb/mgmapi
-I/usr/local/mysql-cluster/include/mysql/ndb
-I/usr/local/mysql-cluster/include/mysql/ndb/ndbapi
-I/usr/local/mysql-cluster/include/mysql/ndb/mgmapi
-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
`hosts_access'
/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.