LDAP_LIBS shouldn't just contain the -L flag..  It meant to contain the
-lldap -llber -l... flags.

Is there any particular reason you're building with static-ldap?  Might
try leaving that flag off.

Chris

On Wed, 2002-12-18 at 16:18, Terrelle Shaw wrote:
> Hey all, 
>         Trying to compile evolution 1.2.1. Here is my configure line:
> ./configure --with-openldap=/opt2/local/openldap-2.1.8
> --enable-dot-locking=yes
> --enable-openssl=yes --with-static-ldap=yes
> 
> 
> Configure runs ok, gives me the summery at the end with no surprises.
> So doing a "make", after a while i get this.. (this is long)
> So, it seems it can't find the headers or something.. so i even copyied
> the
> ldap.h and ldap schema.h header to the dir and still no go.. 
> Any help would be appreciated.
> 
> Terrelle
> 
> P.S: here are the two lines in the Makefile after configure finishes:
> LDAP_CFLAGS = -I/opt2/local/openldap-2.1.8/include
> LDAP_LIBS = -L/opt2/local/openldap-2.1.8/lib 
> 
> <error printout>
> addressbook-config.o: In function `addressbook_ldap_init':
> /opt2/evo/evolution-1.2.1/addressbook/gui/component/addressbook-config.c:195:
> undefined reference to `ldap_init'
> addressbook-config.o: In function `addressbook_ldap_auth':
> /opt2/evo/evolution-1.2.1/addressbook/gui/component/addressbook-config.c:214:
> undefined reference to `ldap_simple_bind_s'
> addressbook-config.o: In function `addressbook_root_dse_query':
> /opt2/evo/evolution-1.2.1/addressbook/gui/component/addressbook-config.c:237:
> undefined reference to `ldap_search_ext_s'
> addressbook-config.o: In function `do_ldap_root_dse_query':
> /opt2/evo/evolution-1.2.1/addressbook/gui/component/addressbook-config.c:646:
> undefined reference to `ldap_get_values'
> /opt2/evo/evolution-1.2.1/addressbook/gui/component/addressbook-config.c:660:
> undefined reference to `ldap_unbind_s'
> /opt2/evo/evolution-1.2.1/addressbook/gui/component/addressbook-config.c:664:
> undefined reference to `ldap_unbind_s'
> addressbook-config.o: In function `query_for_supported_bases':
> /opt2/evo/evolution-1.2.1/addressbook/gui/component/addressbook-config.c:716:
> undefined reference to `ldap_value_free'
> collect2: ld returned 1 exit status
> make[5]: *** [evolution-addressbook] Error 1
> make[5]: Leaving directory
> `/opt2/evo/evolution-1.2.1/addressbook/gui/component'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory
> `/opt2/evo/evolution-1.2.1/addressbook/gui/component'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/opt2/evo/evolution-1.2.1/addressbook/gui'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/opt2/evo/evolution-1.2.1/addressbook'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/opt2/evo/evolution-1.2.1'
> make: *** [all-recursive-am] Error 2
> 
> 
> 
> _______________________________________________
> evolution maillist  -  [EMAIL PROTECTED]
> http://lists.ximian.com/mailman/listinfo/evolution

_______________________________________________
evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution

Reply via email to