Missing or broken libldap_r-2.4.so.2 library

Table of Contents

Description

This library lets Windows applications access LDAP servers.

Resolution

See also the Missing libldap_r-2.5.so.0 library issue on CrossOver >= 21.2.

On CrossOver 17 and greater, the simplest solution to fix this issue is to run:

/path/to/cxoffice/bin/cxfix missinglibldap_r missinglibldap_r.amd64

Or add --show-all to see how CrossOver would fix it on your platform and others.

Alternatively you may try one of the commands below.

  • For 32-bit Windows applications
    32-bit Arch Linux : pacman -Syu libldap
    64-bit Arch Linux : pacman -Syu lib32-libldap
    Debian : apt-get install libldap-2.4-2:i386
    32-bit Fedora : yum install openldap
    64-bit Fedora : yum install openldap.i686 openldap.x86_64
    32-bit openSUSE : zypper install libldap-2_4-2
    64-bit openSUSE : zypper install libldap-2_4-2-32bit
  • For 64-bit Windows applications
    Arch Linux : pacman -Syu libldap
    Debian : apt-get install libldap-2.4-2:amd64
    Fedora : yum install openldap.x86_64
    openSUSE : zypper install libldap-2_4-2

Notes:

  • cxfix --show-all may have more up-to-date fixes.
  • The commands usually also apply to newer versions of the distributions above as well as derived distributions. So for instance a fix for Debian 7 may still be valid for the latest Debian Testing and is typically also applicable to Ubuntu, Linux Mint, Deepin and Pop! OS. Similarly a fix for Fedora likely also works on Red Hat Enterprise Linux, CentOS, etc.

Next Step: Missing or broken libnss_mdns.so.2 library (old)

Last modified on 2023-09-29 20:05:30 UTC by Andrew Balfour