Re: Compiling against OpenLDAP in OpenPKG - static linking problem

2004-07-21 Thread Stephan Buys
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

Compiling against OpenLDAP in OpenPKG - static linking problem

2004-07-20 Thread Stephan Buys
(Sorry for the double post to openpkg-dev, I only realised later that this question is more appropriate for the users list) Hi all, (www.freeradius.org, compiling on Solaris 8 SPARC, ) I think I am running into a static linking problem with OpenPKG. When trying to configure the freeradius

Re: Compiling against OpenLDAP in OpenPKG - static linking problem

2004-07-20 Thread Michael van Elst
On Tue, Jul 20, 2004 at 01:23:24PM +0200, Stephan Buys wrote: l/ conftest.c -lresolv -lcrypto -llber -lldap 15 /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

Re: Compiling against OpenLDAP in OpenPKG - static linking problem

2004-07-20 Thread Stephan Buys
Hi, I am very bad with static linking (dont know if it is just me :-) I have tried the following CFLAGS: #export CFLAGS=-L/kolab/lib -I/kolab/include -lldap -llber #export LD_LIBRARY_PATH=/kolab/lib and #export CFLAGS=-L/kolab/lib -I/kolab/include -lldap And still the same results, here's

Re: Compiling against OpenLDAP in OpenPKG - static linking problem

2004-07-20 Thread Ralf S. Engelschall
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 15 /kolab/lib/libldap.a(open.o)(.text+0x198): In function `ldap_create': : undefined reference to `ber_memcalloc_x'