Linux Operating System (MOSC)

MOSC Banner

SASL-Based LDAP Authentication, RHEL 7.6: "libsasl2.so.2: cannot open shared object file"

edited Nov 21, 2019 4:00AM in Linux Operating System (MOSC) 1 commentAnswered ✓

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

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center