[New-bugs-announce] [issue38987] 3.8.0 on GNU/Linux fails to find shared library

Kevin Buchs report at bugs.python.org
Fri Dec 6 12:19:12 EST 2019

New submission from Kevin Buchs <kevin.buchs at gmail.com>:

I just downloaded Python 3.8.0 and built (from source) on Ubuntu 18.04. I used these options to configure:

  ./configure --enable-shared --enable-ipv6 --enable-optimizations

The shared library gets installed into /usr/local/lib:

  find / -type f -name libpython3.8.so.1.0
/usr/local/lib is defined as a path to search for shared libraries: 

  # /etc/ld.so.conf loads all /etc/ld.so.conf.d/*.conf
  grep /usr/local  /etc/ld.so.conf.d/*.conf

But, the python executable is unable to find it:
  /usr/local/bin/python3.8: error while loading shared libraries: 
    libpython3.8.so.1.0: cannot open shared object file: No such file
    or directory

components: Installation
messages: 357924
nosy: buchs
priority: normal
severity: normal
status: open
title: 3.8.0 on GNU/Linux fails to find shared library
type: crash
versions: Python 3.8

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list