Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with libpython3.8.so.1.0 #18

Open
OscarVelandia opened this issue Jul 3, 2020 · 8 comments
Open

Problem with libpython3.8.so.1.0 #18

OscarVelandia opened this issue Jul 3, 2020 · 8 comments
Labels
bug Something isn't working unknown or hard Unknown or hard bug

Comments

@OscarVelandia
Copy link

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
Copy link
Owner

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

@OscarVelandia
Copy link
Author

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 black7375 added the bug Something isn't working label Jul 7, 2020
@black7375
Copy link
Owner

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.

@black7375 black7375 added the unknown or hard Unknown or hard bug label Mar 29, 2021
@wiz21b
Copy link

wiz21b commented Apr 7, 2022

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
Copy link
Owner

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

@wiz21b
Copy link

wiz21b commented Apr 7, 2022

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

@black7375
Copy link
Owner

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

@Biplab-kumar-Behera
Copy link

[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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unknown or hard Unknown or hard bug
Projects
None yet
Development

No branches or pull requests

4 participants