Packaging Samba isn't an easy task. libldb has been inherited to Samba again. That however shouldn't be seen as an invitation to add dependencies to other Samba libraries. The reason is that libdlb is still used by other projects like sssd. Using internals from libreplace, should be avoided. If possible libldb should not link against it. Example: Upgrading: libldb x86_64 4.22.4-6.el9_7 rhel-9-for-x86_64-baseos-rpms 185 k libtalloc x86_64 2.4.3-1.el9 rhel-9-for-x86_64-baseos-rpms 34 k libtdb x86_64 1.4.13-1.el9 rhel-9-for-x86_64-baseos-rpms 54 k libtevent x86_64 0.16.2-1.el9 rhel-9-for-x86_64-baseos-rpms 51 k Installing dependencies: avahi-libs x86_64 0.8-23.el9 rhel-9-for-x86_64-baseos-rpms 67 k libicu x86_64 67.1-10.el9_6 rhel-9-for-x86_64-baseos-rpms 9.6 M libtirpc x86_64 1.3.3-9.el9 rhel-9-for-x86_64-baseos-rpms 97 k libwbclient x86_64 4.22.4-6.el9_7 rhel-9-for-x86_64-baseos-rpms 42 k *samba-client-libs x86_64 * 4.22.4-6.el9_7 rhel-9-for-x86_64-baseos-rpms 5.4 M *samba-common noarch * 4.22.4-6.el9_7 rhel-9-for-x86_64-baseos-rpms 175 k *samba-common-libs x86_64 * 4.22.4-6.el9_7 rhel-9-for-x86_64-baseos-rpms 104 k
This bug was referenced in samba master: 1bb25c0e01d35b1adb3137cb193de27f5c5a65f0