Red Hat Bugzilla – Bug 248065
dovecot depends on openldap-devel, but this dependency is not registered
Last modified: 2007-11-30 17:12:10 EST
Description of problem:
Libraries in openldap-devel are being used by programs requiring openldap.
However, openldap does not list openldap as a dependency. It is thus possible
to remove openldap-devel and end up with a system in which e.g. postfix or
dovecot do not work.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install openldap, openldap-devel, postfix
2. Run ldd on the postfix executable, observe no unresolved libraries
3. Remove openldap-devel
4. Run ldd on the postfix executable and observe that libldap.so and liblber.so
Programs that require libldap.so and liblber.so stop working.
The removal of libldap.so and liblber.so should not pass unnoticed if there are
programs depending on them.
I am not seeing this.
The dovecot-auth binary in F7 (dovecot-1.0.0-11.fc7) properly depends on
libldap-2.3.so.0 and liblber-2.3.so.0 (which are provided by the openldap package).
The master binary in F7 (postfix-2.4.3-2.fc7) as well.
What versions of dovecot and postfix do you have?
Can you run the steps to reproduce that I gave, on say postfix?
On my system,
libldap-2.4.so.0 is a link to libldap.so, which links further to
Uninstalling openldap-devel removes the link "libldap.so", thus leaving the
system no way to get to the library.
Oh yeah, I can see it now. That's clearly a bug in the openldap package.
There is no library provided by openldap-devel, removing the package just breaks
"few" symlinks... and nobody restores them. You must manualy run 'ldconfig' as
root and everything will be fine.
I'll fix it in next release, so it will do it automatically on uninstall,
openldap-2.3.34-3.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report.
I tried the package from devel, and it seems to be OK. IMHO ticket can be closed.
openldap-2.3.34-3.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.