On Tue, Jul 20, 2004 at 01:23:24PM +0200, Stephan Buys wrote: > l/ conftest.c -lresolv -lcrypto -llber -lldap 1>&5 > /kolab/lib//libldap.a(open.o)(.text+0x198): In function `ldap_create': > : undefined reference to `ber_memcalloc_x' > /kolab/lib//libldap.a(open.o)(.text+0x1f4): In function `ldap_create': > : undefined reference to `ber_sockbuf_alloc' > /kolab/lib//libldap.a(open.o)(.text+0x228): In function `ldap_create': > : undefined reference to `ber_memfree_x'
> I think the issue here is with how configure is trying to compile agains statically > linked libraries. Static libraries require a correct link order while references to dynamic libraries are sorted at run time. In this case you need to link with libldap first, i.e. -lldap -llber. Greetings, -- Michael van Elst Internet: [EMAIL PROTECTED] "A potential Snark may lurk in every tree." ______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List [EMAIL PROTECTED]