Dear all, i 've problem openldap installation. i'm using debian lenny, openldap 2.4.19. Error's below.
openldap-2.4.19# ./configure --prefix=/usr/local/mailserver/openldap --enable-crypt --enable-backends --enable-bdb --enable-ldbm --enable-perl=no
checking for ndb_init in -lndbclient... no configure: error: could not locate ndbclient library
config.log
configure:30018: checking for ndb_init in -lndbclient configure:30053: cc -o conftest -g -O2 -L/usr/lib/mysql -lmysqlclient_r conftest.c -lndbclient -lstdc++ -lresolv >&5 /usr/lib/mysql/libndbclient.so: undefined reference to `base64_needed_decoded_length' /usr/lib/mysql/libndbclient.so: undefined reference to `base64_decode' /usr/lib/mysql/libndbclient.so: undefined reference to `decimal_bin_size' collect2: ld returned 1 exit status configure:30059: $? = 1 configure: failed program was:
thanks for helps / regards.
Murat Uğur Eminoğlu wrote:
Dear all, i 've problem openldap installation. i'm using debian lenny, openldap 2.4.19. Error's below.
openldap-2.4.19# ./configure --prefix=/usr/local/mailserver/openldap --enable-crypt --enable-backends --enable-bdb --enable-ldbm --enable-perl=no
checking for ndb_init in -lndbclient... no configure: error: could not locate ndbclient library
It looks you don't have the NDB libraries installed or the configure script can't find them. I had the same problem on my RHEL 5-based system.
If you don't specifically require NDB backend support, remove "--enable-backends" from your configure command, and only list the ones you plan on using. You are already specifying the bdb with "--enable-bdb". This is what I did.
See the output of 'configure --help' for the full list of options, if you haven't done so already.
-- Prentice
Prentice Bisbal wrote:
Murat Uğur Eminoğlu wrote:
checking for ndb_init in -lndbclient... no configure: error: could not locate ndbclient library
It looks you don't have the NDB libraries installed or the configure script can't find them. I had the same problem on my RHEL 5-based system.
If you don't specifically require NDB backend support, remove "--enable-backends" from your configure command, and only list the ones you plan on using. You are already specifying the bdb with "--enable-bdb". This is what I did.
One can also explicitly use --enable-ndb=no to only disable back-ndb.
Ciao, Michael.
Michael Ströder wrote:
Prentice Bisbal wrote:
Murat Uğur Eminoğlu wrote:
checking for ndb_init in -lndbclient... no configure: error: could not locate ndbclient library
It looks you don't have the NDB libraries installed or the configure script can't find them. I had the same problem on my RHEL 5-based system.
If you don't specifically require NDB backend support, remove "--enable-backends" from your configure command, and only list the ones you plan on using. You are already specifying the bdb with "--enable-bdb". This is what I did.
One can also explicitly use --enable-ndb=no to only disable back-ndb.
Would this work, too?
./configure --enable-backends --disable-ndb
-- Prentice
Thanks all replys. But i have problem now.
debian 5,
dpkg-buildpackage -b
errors
cp: cannot stat `./debian/tmp/etc/ldap/schema': No such file or directory dh_install: command returned error code 256 make: *** [binary-arch] Error 1 dpkg-buildpackage: failure: debian/rules binary gave error exit status 2
how i can solve this problem ?
thanks.
On 01/13/2010 11:47 PM, Prentice Bisbal wrote:
Michael Ströder wrote:
Prentice Bisbal wrote:
Murat Uğur Eminoğlu wrote:
checking for ndb_init in -lndbclient... no configure: error: could not locate ndbclient library
It looks you don't have the NDB libraries installed or the configure script can't find them. I had the same problem on my RHEL 5-based system.
If you don't specifically require NDB backend support, remove "--enable-backends" from your configure command, and only list the ones you plan on using. You are already specifying the bdb with "--enable-bdb". This is what I did.
One can also explicitly use --enable-ndb=no to only disable back-ndb.
Would this work, too?
./configure --enable-backends --disable-ndb
-- Prentice
Murat Uğur Eminoğlu wrote:
Thanks all replys. But i have problem now.
debian 5,
dpkg-buildpackage -b
errors
cp: cannot stat `./debian/tmp/etc/ldap/schema': No such file or directory dh_install: command returned error code 256 make: *** [binary-arch] Error 1 dpkg-buildpackage: failure: debian/rules binary gave error exit status 2
If you really built OpenLDAP yourself it seems something's messed up with the Debian packages already installed on your system. I'd recommend to user a different --prefix to install to and create a custom slapd.conf from scratch.
Ciao, Michael.
On 01/15/2010 12:33 AM, Michael Ströder wrote:
Murat Uğur Eminoğlu wrote:
Thanks all replys. But i have problem now.
debian 5,
dpkg-buildpackage -b
errors
cp: cannot stat `./debian/tmp/etc/ldap/schema': No such file or directory dh_install: command returned error code 256 make: *** [binary-arch] Error 1 dpkg-buildpackage: failure: debian/rules binary gave error exit status 2
If you really built OpenLDAP yourself it seems something's messed up with the Debian packages already installed on your system. I'd recommend to user a different --prefix to install to and create a custom slapd.conf from scratch.
Ciao, Michael.
Dear Michael, same errors. How i can solve this problem?
Thanks.
2010/1/15 Murat Uğur Eminoğlu murat@murat.ws
On 01/15/2010 12:33 AM, Michael Ströder wrote:
Murat Uğur Eminoğlu wrote:
Thanks all replys. But i have problem now.
debian 5,
dpkg-buildpackage -b
errors
cp: cannot stat `./debian/tmp/etc/ldap/schema': No such file or directory dh_install: command returned error code 256 make: *** [binary-arch] Error 1 dpkg-buildpackage: failure: debian/rules binary gave error exit status 2
If you really built OpenLDAP yourself it seems something's messed up with the Debian packages already installed on your system. I'd recommend to user a different --prefix to install to and create a custom slapd.conf from scratch.
Ciao, Michael.
Dear Michael, same errors. How i can solve this problem?
Hi Murat,
Does the package build correctly before the changes ( I mean, just after apt-get source slapd) ?
Best regards, Radek Antoniuk
openldap-technical@openldap.org