Bug 240253 - Removing openldap-devel breaks sudo command
Summary: Removing openldap-devel breaks sudo command
Alias: None
Product: Fedora
Classification: Fedora
Component: openldap
Version: 6
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Jan Safranek
QA Contact:
: 249866 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2007-05-16 02:21 UTC by Kevin Cozens
Modified: 2009-07-29 14:13 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2007-06-08 11:55:54 UTC

Attachments (Terms of Use)

Description Kevin Cozens 2007-05-16 02:21:34 UTC
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
once more.

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.

Comment 1 Jan Safranek 2007-05-16 08:13:18 UTC
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.

Comment 2 Jan Safranek 2007-06-08 11:55:54 UTC
Fixed in openldap-2.3.34-3.fc8

Comment 3 Jan Safranek 2007-10-18 15:21:16 UTC
*** Bug 249866 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.