Strange ssh / openldap linking problem

Richard W.M. Jones rjones at redhat.com
Thu Mar 20 14:33:46 UTC 2014


Well this bug has reappeared on my machine.  openldap depends on
openldap-devel.

$ ll /usr/lib64/libldap*
lrwxrwxrwx. 1 root root     10 Feb 25 22:59 /usr/lib64/libldap-2.4.so.2 -> libldap.so
-rwxr-xr-x. 1 root root 340608 Feb  4 09:08 /usr/lib64/libldap-2.4.so.2.10.2
lrwxrwxrwx. 1 root root     12 Feb 25 22:59 /usr/lib64/libldap_r-2.4.so.2 -> libldap_r.so
-rwxr-xr-x. 1 root root 365848 Feb  4 09:08 /usr/lib64/libldap_r-2.4.so.2.10.2
lrwxrwxrwx. 1 root root     23 Feb 25 23:09 /usr/lib64/libldap_r.so -> libldap_r-2.4.so.2.10.2
lrwxrwxrwx. 1 root root     21 Feb 25 23:09 /usr/lib64/libldap.so -> libldap-2.4.so.2.10.2

$ for f in /usr/lib64/libldap*; do echo -n "$f comes from "; rpm -qf "$f"; done
/usr/lib64/libldap-2.4.so.2 comes from openldap-2.4.39-2.fc20.x86_64
/usr/lib64/libldap-2.4.so.2.10.2 comes from openldap-2.4.39-2.fc20.x86_64
/usr/lib64/libldap_r-2.4.so.2 comes from openldap-2.4.39-2.fc20.x86_64
/usr/lib64/libldap_r-2.4.so.2.10.2 comes from openldap-2.4.39-2.fc20.x86_64
/usr/lib64/libldap_r.so comes from openldap-devel-2.4.39-2.fc20.x86_64
/usr/lib64/libldap.so comes from openldap-devel-2.4.39-2.fc20.x86_64

This breaks libguestfs when it happens.

I've noticed that lots of people have hit this bug before:

https://bugzilla.redhat.com/show_bug.cgi?id=240253
https://bugzilla.redhat.com/show_bug.cgi?id=248065
https://bugzilla.redhat.com/show_bug.cgi?id=249866
https://bugzilla.redhat.com/show_bug.cgi?id=447645
https://bugzilla.redhat.com/show_bug.cgi?id=460307
https://bugzilla.redhat.com/show_bug.cgi?id=693716
https://bugzilla.redhat.com/show_bug.cgi?id=1028557

It's obviously a longstanding packaging bug in openldap and I think it
needs to be fixed.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top


More information about the devel mailing list