black7375/BlaCk-Void-Zsh

Problem with libpython3.8.so.1.0

OscarVelandia opened this issue ยท 8 comments

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

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

from

  • /lib/
  • /lib64/
  • /usr/lib/
  • /usr/lib64/

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

sudo apt-get install libpython3.x-dev

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.

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.

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 ?

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

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

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

[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