Open riaano opened 1 month ago
Do note that you're installing RPMs that look like they were built for RHEL/CentOS Streams 9. Amazon Linux 2023 is not directly compatible with RHEL9, nor is it a goal to be. Packages need to be built for Amazon Linux 2023 to ensure compatibility.
Using RPMs built for other distributions will have this kind of problem, with a good chance of them recurring with any updates to the packages or Amazon Linux.
There may be other reasons to update OpenLDAP, but attempting binary compatibility with a different OS isn't one of them.
I am uncertain what might break when updating OpenLDAP to version 2.62. However, it successfully built in COPR without any errors or missing dependencies. Core packages of a distribution, such as glibc, OpenSSL, OpenSSH, and systemd, should not be replaced or modified.
@riaano as mentioned by @stewartsmith the openldap
package might take a while to update in AL2023. If you badly need the zabbix
server, build a local package of openldap-2.6.x
.
For testing https://kojipkgs.fedoraproject.org//packages/openldap/2.6.8/3.eln141/src/openldap-2.6.8-3.eln141.src.rpm
was used on Amazon Linux 2023.5.20240708
instance. All the devel
packages are available. The SRPM built w/out errors:
openldap-2.6.8-3.amzn2023.x86_64.rpm
openldap-clients-2.6.8-3.amzn2023.x86_64.rpm
openldap-clients-debuginfo-2.6.8-3.amzn2023.x86_64.rpm
openldap-compat-2.6.8-3.amzn2023.x86_64.rpm
openldap-compat-debuginfo-2.6.8-3.amzn2023.x86_64.rpm
openldap-debuginfo-2.6.8-3.amzn2023.x86_64.rpm
openldap-debugsource-2.6.8-3.amzn2023.x86_64.rpm
openldap-devel-2.6.8-3.amzn2023.x86_64.rpm
openldap-servers-2.6.8-3.amzn2023.x86_64.rpm
openldap-servers-debuginfo-2.6.8-3.amzn2023.x86_64.rpm
and openldap-2.6.8
will satisfy your zabbix
requirement:
[elsaco@ip-x-x-x-x ~]$ rpm -qp --provides openldap-2.6.8-3.amzn2023.x86_64.rpm
config(openldap) = 2.6.8-3.amzn2023
liblber.so.2()(64bit)
liblber.so.2(OPENLDAP_2.200)(64bit)
libldap.so.2()(64bit)
libldap.so.2(OPENLDAP_2.200)(64bit)
libslapi.so.2()(64bit)
openldap = 2.6.8-3.amzn2023
openldap(x86-64) = 2.6.8-3.amzn2023
Also made an openldap package in the same way, but ran into the following: the "sudo" package depends on openldap. And as far as I understand, it also needs to be updated so that it depends on the already new libraries of the new version of opendap.
"Problem: package sudo-1.9.15-1.p5.amzn2023.0.1.x86_64 from @System requires liblber-2.4.so.2()(64bit)"
What package is missing from Amazon Linux 2023? Please describe and include package name. OpenLdap in version >= 2.6.2
Is this an update to existing package or new package request? Update to existing package
Is this package available in Amazon Linux 2? If it is available via external sources such as EPEL, please specify. Not aware of Amazon Linux 2, but its available on https://mirror.stream.centos.org/9-stream/BaseOS/x86_64/os/Packages/openldap-2.6.2-3.el9.x86_64.rpm
Any additional information you'd like to include. (use-cases, etc) I need to install a Zabbix Server and Agent and it requires this package to be upgraded. This is the output from the install to show the upgraded libraries required provided by openldap 2.6.2 and newer.
dnf install zabbix-server-pgsql zabbix-sql-scripts zabbix-selinux-policy zabbix-agent Last metadata expiration check: 0:00:08 ago on Fri Jul 12 17:56:11 2024. Error: Problem 1: conflicting requests - nothing provides liblber.so.2()(64bit) needed by zabbix-server-pgsql-7.0.0-release1.el9.x86_64 from zabbix