unbale to install the postgresql-14

Latest response

when i am trying to fresh install on Red Hat-9 , i am getting the following error.

sudo dnf install -y postgresql14-server

Last metadata expiration check: 0:46:01 ago on Sun 24 Sep 2023 01:52:57 PM IST.
Problem: cannot install the best candidate for the job
- nothing provides libldap.so.2()(64bit) needed by postgresql14-server-14.9-2PGDG.rhel9.x86_64
- nothing provides libldap.so.2(OPENLDAP_2.200)(64bit) needed by postgresql14-server-14.9-2PGDG.rhel9.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

would any one help me on this issue.


Do you have openldap installed on your system?