Hi *, Sorry for taking so long to write this email. I just feared that I did not see something obvious and this is a silly bug on my side. Perhaps it is. But I am unable to build OpenLDAP 2.1. The relevant part of the build log follows: $ debuild -uc -us dpkg-buildpackage: source package is openldap2.1 dpkg-buildpackage: source version is 2.1.12-1 [...] fakeroot debian/rules binary /usr/bin/make -C /usr/local/src/openldap2.1/openldap2.1-2.1.12/debian/build DESTDIR=/usr/local/src/openldap2.1/openldap2.1-2.1.12/debian/tmp [...] /bin/sh /usr/local/src/openldap2.1/openldap2.1-2.1.12/debian/build/libtool --mode=install /usr/bin/install -c -m 644 libldap.la /usr/local/src/openldap2.1/openldap2.1-2.1.12/debian/tmp/usr/lib libtool: install: warning: relinking `libldap.la' (cd /usr/local/src/openldap2.1/openldap2.1-2.1.12/debian/build/libraries/libldap; /bin/sh /usr/local/src/openldap2.1/openldap2.1-2.1.12/debian/build/libtool --mode=relink cc -D_FILE_OFFSET_BITS=64 -version-info 2:111:0 -rpath /usr/lib -o libldap.la bind.lo open.lo result.lo error.lo compare.lo search.lo controls.lo messages.lo references.lo extended.lo cyrus.lo modify.lo add.lo modrdn.lo delete.lo abandon.lo cache.lo sasl.lo sbind.lo kbind.lo unbind.lo filter.lo free.lo sort.lo getdn.lo getentry.lo getattr.lo getvalues.lo addentry.lo request.lo os-ip.lo url.lo sortctrl.lo vlvctrl.lo init.lo options.lo print.lo string.lo util-int.lo schema.lo charray.lo tls.lo os-local.lo dnssrv.lo utf-8.lo utf-8-conv.lo version.lo ../../libraries/liblber/liblber.la -lresolv -ldl -lsasl2 -lssl -lcrypto) cc -shared bind.lo open.lo result.lo error.lo compare.lo search.lo controls.lo messages.lo references.lo extended.lo cyrus.lo modify.lo add.lo modrdn.lo delete.lo abandon.lo cache.lo sasl.lo sbind.lo kbind.lo unbind.lo filter.lo free.lo sort.lo getdn.lo getentry.lo getattr.lo getvalues.lo addentry.lo request.lo os-ip.lo url.lo sortctrl.lo vlvctrl.lo init.lo options.lo print.lo string.lo util-int.lo schema.lo charray.lo tls.lo os-local.lo dnssrv.lo utf-8.lo utf-8-conv.lo version.lo -L/usr/lib -llber -lresolv -ldl -lsasl2 -lssl -lcrypto -Wl,-soname -Wl,libldap.so.2 -o .libs/libldap.so.2.0.111 /usr/bin/ld: cannot find -llber collect2: ld returned 1 exit status libtool: install: error: relink `libldap.la' with the above command before installing it libtool: install: warning: remember to run `libtool --finish /usr/lib' I really have no idea what to do about this bug apart from manually copying the library into the destination directory which would be a really crude hack. Perhaps I am dumb so I ask for comments about this: a) In my eyes libtool has a glaring bug here. It is called as replacement for install, fails to install anything and returns a success return code anyway (the build continues after that error...). I'd like to file a bug that it should return with a failure return code so that the caller notices that something has gone wrong. b) Why the heck does it try to relink libldap at all? c) The next bug: liblber is not yet installed at that time. Why on earth does libtool rely on liblber being in /usr/lib at that time? That library is about to be relinked with the next command and that fails because libldap is not found. The full build log is available at http://people.debian.org/~torsten/openldap2.1/buildlog-20030209 Any comments appreciated. I want to get this package working... Greetings Torsten
Attachment:
pgpFyRqhTlxo9.pgp
Description: PGP signature