[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
postfix 1.1.11 + openldap-2.1.x
Dear list,
I am trying to compile postfix-1.1.11 with openldap-2.1.4.
Unfortunately it fails. I always get this :
[src/error]
gcc -Wmissing-prototypes -Wformat -I/usr/local/OpenLDAP-2.1.4/include
-DHAS_LDAP -g -O -I. -I../../include -DFREEBSD4 -c error.c
gcc -Wmissing-prototypes -Wformat -I/usr/local/OpenLDAP-2.1.4/include
-DHAS_LDAP -g -O -I. -I../../include -DFREEBSD4 -o error error.o
../../lib/libmaster.a ../../lib/libglobal.a ../../lib/libutil.a
-L/usr/local/OpenLDAP-2.1.4/lin -lldap -L/usr/local/OpenLDAP-2.1.4/lib
-llber
../../lib/libutil.a(dict_ldap.o): In function `dict_ldap_get_values':
/usr/local/src/postfix-1.1.11/src/util/dict_ldap.c:404:
undefined reference to `ldap_url_search_st'
*** Error code 1
Stop in /usr/local/src/postfix-1.1.11/src/error.
*** Error code 1
Stop in /usr/local/src/postfix-1.1.11.
when doing this :
make makefiles CCARGS="-I/usr/local/OpenLDAP-2.1.4/include -DHAS_LDAP"
AUXLIBS="-L/usr/local/OpenLDAP-2.1.4/lin -lldap
-L/usr/local/OpenLDAP-2.1.4/lib -llber"
I saw that ldap_url_search_st is really not defined in ldap.h
Openldap-2.0.27 has this function in ldap.h
What's wrong ? What can I do ? Should I really use 2.0.27 ?
best regards,
Jan