• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 822
  • Last Modified:

Open LDAP and SASL issue, slap_sasl_init: SASL library version mismatch: expected 2.1.18, got 2.1.10

I've compiled OpenLDAP from the source and everything seems to go fine, but when I try to start it I get the error:

slap_sasl_init: SASL library version mismatch: expected 2.1.18, got 2.1.10
I do have 2.1.18 installed and I may have 2.1.10 installed because of dependencys.

The lib links look correct... Not sure what to do, I'm on redhat 8.1.  OpenLDAP 2.213.

Thanks!
0
damtimmah
Asked:
damtimmah
1 Solution
 
jlevieCommented:
It sounds to me like OpenLDAP was built against SASL 2.1.18, but it is only finding the libraries for SASL 2.1.10. That might be a result of SASL 2.1.18 being in a non-system place (like /usr/local). and the directory containing those libs isn't in the system's library search path (isn't mentioned in /etc/ld.so.conf). Editing /etc/ld.so.conf to include the path to the directoy containing the 2.1.18 libs and running ldconfig may fix the problem.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now