On Nov 19, 2007 4:29 PM, Farid Hamjavar <hamjavar at unm.edu> wrote: > > 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 > yum install cyrus-sasl-devel > > 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 > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > -- Stephen J Smoogen. -- CSIRT/Linux System Administrator How far that little candle throws his beams! So shines a good deed in a naughty world. = Shakespeare. "The Merchant of Venice"