Red Hat Bugzilla – Bug 240253
Removing openldap-devel breaks sudo command
Last modified: 2009-07-29 10:13:19 EDT
My latest run of 'yum update' included an update for openldap-devel. Since I
don't plan to do any development related to ldap I removed the package 'using
rpm -e openldap-devel'. I then discovered I could no longer use the 'sudo'
command. The sudo command would give me the message:
sudo: error while loading shared libraries: libldap-2.3.so.0: cannot open shared
object file: No such file or directory
When I re-install the openldap-devel package I am able to use the sudo command
The above happens consistently. When I remove openldap-devel I no longer have
the /usr/lib/libldap.so file and can't run sudo. When I install openldap-devel I
can use the sudo command.
Thank you for the bug report. There is just missing 'ldconfig' in %postun of
You can safely remove openldap-devel, but afterwards you must manually call
ldconfig as root:
rpm -e openldap-devel
I'll fix it in next release of openldap rpms.
Fixed in openldap-2.3.34-3.fc8
*** Bug 249866 has been marked as a duplicate of this bug. ***