The config.log excerpt is as follows:
configure:29974: checking for NdbApi.hpp
configure:29989: cc -E -I/usr/local/mysql/include/mysql
-I/usr/local/mysql/include/mysql/storage/ndb
-I/usr/local/mysql/include/mysql/storage/ndb/ndbapi conftest.c
In file included from
/usr/local/mysql/include/mysql/storage/ndb/ndbapi/ndb_cluster_connection.
hpp:22,
from
/usr/local/mysql/include/mysql/storage/ndb/ndbapi/NdbApi.hpp:23,
from conftest.c:119:
/usr/local/mysql/include/mysql/storage/ndb/ndb_types.h:53:24: error:
operator '==' has no left operand
/usr/local/mysql/include/mysql/storage/ndb/ndb_types.h:55:24: error:
operator '==' has no left operand
/usr/local/mysql/include/mysql/storage/ndb/ndb_types.h:61:24: error:
operator '==' has no left operand
/usr/local/mysql/include/mysql/storage/ndb/ndb_types.h:65:25: error:
operator '==' has no left operand
/usr/local/mysql/include/mysql/storage/ndb/ndb_types.h:69:23: error:
operator '==' has no left operand
/usr/local/mysql/include/mysql/storage/ndb/ndb_types.h:73:29: error:
operator '==' has no left operand
configure:29995: $? = 1
Are the files in ../ndbapi not the ndbclient libraries configure is
looking for?
-----Original Message-----
From: Quanah Gibson-Mount <quanah@zimbra.com>
To: Yusuf Rajah <yusuf@josephking.it>, openldap-technical@openldap.org
Subject: Re: openldap-2.4.23 compile configure: error: could not locate
ndbclient library
Date: Tue, 10 Aug 2010 08:38:15 -0700
--On August 10, 2010 8:16:58 AM +0200 Yusuf Rajah <yusuf@josephking.it>
wrote:
Hi All
I have been trying to solve this for 4 days now without any luck. I have
searched and tried fixes and nothing works, I am hoping some fresh minds
and eyes can help me out with this.
I want to run OpenLDAP using MySQL Cluster Server with the ndb backend
database. I have installed mysql-cluster-gpl-7.1.5 from source, it is
working and I have migrated some data into it to test. I am trying to
compile openldap-2.4.23 with support for back-NDB. I run:
./configure --enable-ndb --disable-hdb --disable-bdb
--prefix=/usr/local/openldap
and eventually get:
checking for ndb_init in -lndbclient... no
configure: error: could not locate ndbclient library
Where did you install mysql cluster to? Obviously configure cannot find
the ndbclient library. You need to make sure configure can find it by
setting LDFLAGS appropriately.
--Quanah