[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
build issues (ITS#2306)
Full_Name: Roland Bauerschmidt
Version: 2.1.12
OS: Debian GNU/Linux unstable
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (213.183.162.243)
We're having troubles building Debian packages for 2.1.12. First of all, we
removed -static from build/top.mk in order to link dynamically against libtool
libraries like SASL 2. Secondly, make DESTDIR=some/dir install fails. It seems
to try to relink libldap2 for whatever reason which fails. The relevant part
from the build log is:
/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'
You can find the complete build log at
http://people.debian.org/~torsten/openldap2.1/buildlog-20030209.