Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

I use EndeavourOS and have updated my system on February 17 2022 using

sudo pacman -Syu

Eversince, when I run docker-compose, I get this error message:

[4221] Error loading Python lib '/tmp/_MEIgGJQGW/libpython3.7m.so.1.0': dlopen: libcrypt.so.1: cannot open shared object file: No such file or directory

Some forum threads suggested to reinstall docker-compose, which I did. I tried the following solution, but both without success:

Python3.7: error while loading shared libraries: libpython3.7m.so.1.0

How can I resolve this issue?

like image 253
T_Torture Avatar asked Aug 31 '25 22:08

T_Torture


2 Answers

Install libxcrypt-compat from pacman (Official Repositories)

like image 126
long-blade Avatar answered Sep 04 '25 03:09

long-blade


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
like image 34
dam0ne Avatar answered Sep 04 '25 04:09

dam0ne