SASL-Based LDAP Authentication, RHEL 7.6: "libsasl2.so.2: cannot open shared object file"
Hi there,
I have configured MySQL server 5.7.27 to load authentication plugin authentication_ldap_sasl.so.
When trying to connect with mysql client and specifying the plugin directory with option "--plugin-dir" I get the following error:
ERROR 2059 (HY000): Authentication plugin 'authentication_ldap_sasl_client' cannot be loaded: libsasl2.so.2: cannot open shared object file: No such file or directory
In fact, /usr/lib64 just contains following libsasl* files:
/usr/lib64/libsasl2.so
/usr/lib64/libsasl2.so.3
/usr/lib64/libsasl2.so.3.0.0
/usr/lib64/libsaslwrapper.so.1
/usr/lib64/libsaslwrapper.so.1.0.0
Any idea how to get around this?
Regards
Amrin