Bug 1900244

Summary: openldap 2.4.56-3.fc34 breaks libldap
Product: [Fedora] Fedora Reporter: darrell pfeifer <darrellpf>
Component: openldapAssignee: Simon Pichugin <spichugi>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: kdudka, matushonek, rmeggins, spichugi, vashirov
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openldap-2.4.56-4.fc34 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-26 19:12:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description darrell pfeifer 2020-11-21 18:01:22 UTC
Description of problem:

2.4.56-3.fc34 introduces libldap-compat

Programs are not finding libldap


Version-Release number of selected component (if applicable):

2.4.56-3.fc34

dnf clean all
Traceback (most recent call last):
  File "/usr/bin/dnf", line 57, in <module>
    from dnf.cli import main
  File "/usr/lib/python3.9/site-packages/dnf/__init__.py", line 30, in <module>
    import dnf.base
  File "/usr/lib/python3.9/site-packages/dnf/base.py", line 29, in <module>
    import libdnf.transaction
  File "/usr/lib64/python3.9/site-packages/libdnf/__init__.py", line 12, in <module>
    from . import conf
  File "/usr/lib64/python3.9/site-packages/libdnf/conf.py", line 13, in <module>
    from . import _conf
ImportError: libldap-2.4.so.2: cannot open shared object file: No such file or directory
[root@localhost darrell]# dnf clean all
Traceback (most recent call last):
  File "/usr/bin/dnf", line 57, in <module>
    from dnf.cli import main
  File "/usr/lib/python3.9/site-packages/dnf/__init__.py", line 30, in <module>
    import dnf.base
  File "/usr/lib/python3.9/site-packages/dnf/base.py", line 29, in <module>
    import libdnf.transaction
  File "/usr/lib64/python3.9/site-packages/libdnf/__init__.py", line 12, in <module>
    from . import conf
  File "/usr/lib64/python3.9/site-packages/libdnf/conf.py", line 13, in <module>
    from . import _conf
ImportError: libldap-2.4.so.2: cannot open shared object file: No such file or directory

===========================

flutter upgrade
ProcessException: Process exited abnormally:
/usr/libexec/git-core/git-remote-https: error while loading shared libraries: libldap-2.4.so.2: cannot open shared object file: No
such file or directory
  Command: git fetch --tags

============================

locate libldap
/usr/lib64/libldap_r-2.4.so.2
/usr/lib64/libldap_r-2.4.so.2.11.4
/var/lib/flatpak/runtime/org.fedoraproject.Platform/x86_64/f32/24445a31159d1b47728b95cde744d309d55b3b3656b5060d9c79f29a01c7d6cb/files/lib64/libldap-2.4.so.2
/var/lib/flatpak/runtime/org.fedoraproject.Platform/x86_64/f32/24445a31159d1b47728b95cde744d309d55b3b3656b5060d9c79f29a01c7d6cb/files/lib64/libldap-2.4.so.2.10.10
/var/lib/flatpak/runtime/org.fedoraproject.Platform/x86_64/f32/24445a31159d1b47728b95cde744d309d55b3b3656b5060d9c79f29a01c7d6cb/files/lib64/libldap_r-2.4.so.2
/var/lib/flatpak/runtime/org.fedoraproject.Platform/x86_64/f32/24445a31159d1b47728b95cde744d309d55b3b3656b5060d9c79f29a01c7d6cb/files/lib64/libldap_r-2.4.so.2.10.10

======================================

I have another machine with 2.4.56-1.fc34 where the proper lib64 links are there.

Comment 1 darrell pfeifer 2020-11-24 16:42:53 UTC
Workaround is to create the symlink by hand

ln -s /usr/lib64/libldap_r-2.4.so.2.11.4 /usr/lib64/libldap-2.4.so.2

Comment 2 Simon Pichugin 2020-11-24 20:53:36 UTC
Thank you for reporting.
What architecture do you have? Is it x86_64?

Comment 3 darrell pfeifer 2020-11-24 20:58:47 UTC
Correct. x86_64