Wednesday, April 6, 2011

libgssapiv2.so.2: undefined symbol: gss_nt_service_name

More compiling woes... This time I was compiling cyrus-sasl 2.1.23 for use with OpenLDAP. I got it all compiled, and tried to run and ldapsearch using GSSAPI, but I got this error: $ ldapsearch -b dc=example,dc=com -LLLldap_sasl_interactive_bind_s: Unknown authentication method (-6) additional info: SASL(-4): no mechanism available: No worthy mechs found When I looked at /var/log/messages, I saw this: Apr 6 16:42:01 ldap ldapsearch: unable to dlopen /usr/local/lib/sasl2/libgssapiv2.so.2: /usr/local/lib/sasl2/libgssapiv2.so.2: undefined symbol:...