Hi list,

I have compiled Cyrus SASL 2.1.23 as
./configure --prefix=/Desktop/sasl
OpenLDAP 2.4.19 as 
env CPPFLAGS="-I/Desktop/sasl/include/sasl" LDFLAGS="-L/Desktop/sasl/lib -R/Desktop/sasl/lib" ./configure --disable-slapd --disable-slurpd --with-ssl --with-cyrus-sasl

The compilation is successful and ldapsearch is working.

But if I copy the same OpenLDAP libs along with the Cyrus SASL libs to another system and try to use them, I am getting "ldap_sasl_interactive_bind_s : No such Mechanisms available"

Is there a way to give relative paths specific to a folder for CPPFLAGS and LDFLAGS?

Is it necessary to compile again in the second system?

I am using MAC OS X Leopard (10.5).

Please help me.