Libldap-2.5.so.0: cannot open shared object file

When I use Percona Server for MongoDB 6.0 from “tarball” I faced bottom error.

./mongod: error while loading shared libraries: libldap-2.5.so.0: cannot open shared object file: No such file or directory

I found libldap.2.5 is in Ubuntu only.
The latest version of openldap-devel is 2.4.46-18 in RHEL 8 and Rocky Linux 8. (2024/09/02)
I have to build source build to use tarball version in RHEL?

Hi @anjae83

Can you please share what tarball version/name you’re using?