[CentOS] pine 4.64 with CentOS with LDAP

Mon Nov 19 23:29:10 UTC 2007
Farid Hamjavar <hamjavar at unm.edu>

Hello

pine 4.64 on CentOS 5 

I have successfully compiled 4.64 with SSL and it works fine.

However, I  like to add LDAP feature.

I am having trouble with compiling it with LDAP.

I built the latest stable openldap-2.3.38 

I did include this when I built openldap:
./configure --with-cyrus-sasl


Compile process gives me these errors below.

Any clue as what I may be doing wrong?

Thanks,
Farid






/p1/fh/openldap-2.3.38/libraries/libldap/cyrus.c:88: undefined reference 
to `sasl_version'
/p1/fh/openldap-2.3.38/libraries/libldap/cyrus.c:124: undefined reference 
to `sasl_client_init'
../ldap/lib/libldap.a(cyrus.o): In function `ldap_int_sasl_open':
/p1/fh/openldap-2.3.38/libraries/libldap/cyrus.c:535: undefined reference 
to `sasl_client_new'
../ldap/lib/libldap.a(cyrus.o): In function `ldap_int_sasl_bind':
/p1/fh/openldap-2.3.38/libraries/libldap/cyrus.c:636: undefined reference 
to `sasl_dispose'
/p1/fh/openldap-2.3.38/libraries/libldap/cyrus.c:682: undefined reference 
to `sasl_setprop'
/p1/fh/openldap-2.3.38/libraries/libldap/cyrus.c:689: undefined reference 
to `sasl_client_start'
/p1/fh/openldap-2.3.38/libraries/libldap/cyrus.c:726: undefined reference 
to `sasl_errdetail'
/p1/fh/openldap-2.3.38/libraries/libldap/cyrus.c:801: undefined reference 
to `sasl_client_step'
/p1/fh/openldap-2.3.38/libraries/libldap/cyrus.c:828: undefined reference 
to `sasl_errdetail'
/p1/fh/openldap-2.3.38/libraries/libldap/cyrus.c:842: undefined reference 
to `sasl_errdetail'
/p1/fh/openldap-2.3.38/libraries/libldap/cyrus.c:849: undefined reference 
to `sasl_getprop'
/p1/fh/openldap-2.3.38/libraries/libldap/cyrus.c:864: undefined reference 
to `sasl_getprop'
/p1/fh/openldap-2.3.38/libraries/libldap/cyrus.c:877: undefined reference 
to `sasl_dispose'
collect2: ld returned 1 exit status
make: *** [pine] Error 1