Is there a way that one can set an environment variable to fix this? The command-line is being created by a configure.in script called: AC_SMART_CHECK_LIB
On Tuesday 20 July 2004 20:01, Ralf S. Engelschall wrote: > On Tue, Jul 20, 2004, Stephan Buys wrote: > > > [...] > > configure:1674: gcc -o conftest -L/kolab/lib -I/kolab/include -lldap -llber > > 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': > > > > Any structured way I can start to track this problem down? > > Your problem is that the "-lldap -llber" is occurring on the command > line before the "conftest.c", so it is effectively ignored (because no > object references it) and after "conftest.c" you have the incorrect > "-llber -lldap" where it breaks. You have to move the "-lldap -llber" to > the _END_ or reorder the one at the end to read this way. > > Ralf S. Engelschall > [EMAIL PROTECTED] > www.engelschall.com > > ______________________________________________________________________ > The OpenPKG Project www.openpkg.org > User Communication List [EMAIL PROTECTED] > > > -- Stephan Buys Code Fusion cc. Tel: +27 11 391 1412 Mobile: +27 83 294 1876 Email: [EMAIL PROTECTED] E-mail Solutions, Kolab Specialists. http://www.codefusion.co.za ______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List [EMAIL PROTECTED]
