[Date Prev][Date Next] [Chronological] [Thread] [Top]

trouble building with --enable-shared

When building with --enable-shared, libldap2 doesn't get installed here,
even though libldif does.

roland@euler:~/[...]/openldap-2.1.12$ make install DESTDIR=/home/roland/[..]/tmp
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 un
bind.lo filter.lo free.lo sort.lo getdn.lo getentry.lo getattr.lo getvalues.lo addentry.lo request.lo os-i
p.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  -Wl,--rpath -Wl,/usr/local/lib  -L/usr/loc
al/lib -llber -lresolv -ldl -L/usr/lib -lsasl2 -lssl -lcrypto   -Wl,-soname -Wl,libldap.so.2 -o .libs/libl
/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/local/lib'
roland@euler:~/[...]/openldap-2.1.12$ find ../tmp -name 'lib*'

Did I miss anything? I'd appreciate any help on how to fix this...

Roland Bauerschmidt