Hi Bo,
On Thu, 2022-11-03 at 16:17 +0900, Bo Peng wrote:
>
> I tried to intsall PostgreSQL 15 on RHEL 9.
> It seems the bundle openldap 2.4.59 causes the following install
> error.
>
>
> # dnf install postgresql15-server
> ...
> Error:
> Problem: conflicting requests
> - nothing provides libldap.so.2()(64bit) needed by postgresql15-
> server-15.0-1PGDG.rhel9.x86_64
> - nothing provides libldap.so.2(OPENLDAP_2.200)(64bit) needed by
> postgresql15-server-15.0-1PGDG.rhel9.x86_64
> (try to add '--skip-broken' to skip uninstallable packages or '--
> nobest' to use not only best candidate packages)
>
> # rpm -qa | grep openldap
> openldap-2.4.59-4.el9_0.x86_64
>
>
> I think the PostgreSQL 15 packages were built with openldap 2.6.2,
> and the version difference caused the error.
>
> Any workaround?
Update the OS?
2.6.2 is the latest version on RHEL 9. Not sure where 2.4.59 came from.
Regards,
--
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR