dlopen: libcrypt.so.1: cannot open shared object file: No such file or directory

We Are Going To Discuss About dlopen: libcrypt.so.1: cannot open shared object file: No such file or directory. So lets Start this Python Article.

dlopen: libcrypt.so.1: cannot open shared object file: No such file or directory

Advertisements
  1. How to solve dlopen: libcrypt.so.1: cannot open shared object file: No such file or directory

    Install libxcrypt-compat from pacman (Official Repositories)

  2. dlopen: libcrypt.so.1: cannot open shared object file: No such file or directory

    Install libxcrypt-compat from pacman (Official Repositories)

Solution 1

Advertisements

Install libxcrypt-compat from pacman (Official Repositories)

Original Author long-blade Of This Content

Solution 2

Advertisements

Same thing happened to me today, this is what I did to fix it (Arcolinux 5.16.10-arch1-1)

Removed docker-compose

$ sudo rm -r /usr/local/bin/docker-compose

Reinstalled it using pip (was not working with the curl method)

$ sudo pip install docker-compose

Original Author dam0ne Of This Content

Solution 3

Advertisements

I use arch linux and it worked for me:

 # cd /usr/lib
 # sudo ln ./libcrypt.so libcrypt.so.1
 # docker-compose -v                                                     
 
 docker-compose version 1.29.2, build 5becea4c

Original Author Lindomar Of This Content

Solution 4

Advertisements

I found several forum posts explaining to isntall libxcrypt-compat from AUR. I did not like this solution, but apparently, this is the way for now: https://bbs.archlinux.org/viewtopic.php?id=274160&p=2

If there is a PGP key error when building the package from AUR, use this workaround as explained by Stock44 on this page: https://aur.archlinux.org/packages/libxcrypt-compat

$ gpg --keyserver keyserver.ubuntu.com --recv-key 678CE3FEE430311596DB8C16F52E98007594C21D

Posted on behalf of the question asker

Original Author Dharman Of This Content

Conclusion

So This is all About This Tutorial. Hope This Tutorial Helped You. Thank You.

Also Read,

ittutorial team

I am an Information Technology Engineer. I have Completed my MCA And I have 4 Year Plus Experience, I am a web developer with knowledge of multiple back-end platforms Like PHP, Node.js, Python and frontend JavaScript frameworks Like Angular, React, and Vue.

Leave a Comment