black7375 / BlaCk-Void-Zsh

🔮 Awesome, Customable Zsh Starter Kit 🌠🌠
MIT License
338 stars 38 forks source link

Problem with libpython3.8.so.1.0 #18

Open OscarVelandia opened 4 years ago

OscarVelandia commented 4 years ago

Hi, after the installation I have this error:

home/linuxbrew/.linuxbrew/Cellar/thefuck/3.30_1/libexec/bin/python3.8: error while loading shared libraries: libpython3.8.so.1.0: cannot open shared object file: No such file or directory

Terminal: Konsole OS: KDE neon 5.19 Kernel: x86_64 Linux 5.3.0-62-generic Shell: zsh 5.4.2 KDE 5.71.0 / Plasma 5.19.2

black7375 commented 4 years ago

hmm Can you check file libpython3.8.so or libpython3.x.so

from

If it doesn't exist, try installing the next package!!

sudo apt-get install libpython3.x-dev
OscarVelandia commented 4 years ago

I will try that, just in case, I tried to reinstall thefuck with linuxbrew and this package install as dependency the python version with that problem.

black7375 commented 4 years ago

Debian 10 x 64-bit-2020-07-09-04-25-33

Hello, I try installing at VM with KDE NEON 5.19. It seems to install normally. I think more information is needed to reproduce the error.

wiz21b commented 2 years ago

Hello,

Same issue on debian stable (bullseye)

stefan@debian:~/Projects/accurapple$ sudo apt-get install libpython3-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libpython3-dev is already the newest version (3.9.2-3).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

stefan@debian:~/Projects/accurapple$ imhex 
imhex: error while loading shared libraries: libpython3.8.so.1.0: cannot open shared object file: No such file or directory

Also note that:

stefan@debian:~/Projects/accurapple$ sudo apt-get install libpython3
libpython3.7-minimal    libpython3.9-dev        libpython3.9-testsuite  libpython3-dbg          
libpython3.9            libpython3.9-minimal    libpython3-all-dbg      libpython3-dev          
libpython3.9-dbg        libpython3.9-stdlib     libpython3-all-dev      libpython3-stdlib      

So I guess you're trying to look for a python interpreter that doesn't exist... So debian provides 3.7 and 3.9 but no 3.8 :-)

Static linking maybe ?

black7375 commented 2 years ago

Thank you, I'll test it by install debian on the weekend.

wiz21b commented 2 years ago

Solution : follow these instructions but with ./configure --enable-shared --enable-optimizations (the shared flag is the important one !)

black7375 commented 2 years ago

It's weird I tried the installation script in Debian, but I did not have a problem except for curl dependencies.

Biplab-kumar-Behera commented 1 year ago

[25590] Error loading Python lib '/tmp/_MEIVdsysT/libpython3.8.so.1.0': dlopen: libcrypt.so.1: cannot open shared object file: No such file or directory

MalikHaroonKhokhar commented 2 months ago

was anyone able to solve this?

black7375 commented 2 months ago

@MalikHaroonKhokhar Hello. To resolve this issue, I should have a reproducible environment. Could you describe your environment? OS, Kernel version, python version ..etc

MalikHaroonKhokhar commented 2 months ago

@black7375 OS: Debian GNU/Linux 12 (bookworm) Kernel: 6.1.0-23-amd64 Python:3.9 it only happens during the virtual environment as a super user i was able to do my work without the virtual environment or not as a super user