[issue38987] 3.8.0 on GNU/Linux fails to find shared library

Christian Heimes report at bugs.python.org
Mon Dec 9 11:45:07 EST 2019


Christian Heimes <lists at cheimes.de> added the comment:

On Ubuntu and other Linux distros you must run ldconfig any time you install or change a shared library. Otherwise the dynamic linker won't be able to locate the shared library. 

I'm able to confirm that python3.8 does not work prior to calling, but works after calling ldconfig.

# ./configure --enable-shared
# make
# make install
# python3.8
python3.8: error while loading shared libraries: libpython3.8.so.1.0: cannot open shared object file: No such file or directory
# ldconfig
# python3.8
Python 3.8.0 (default, Dec  9 2019, 16:36:58) 
[GCC 7.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>

----------
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed
type: crash -> resource usage

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38987>
_______________________________________


More information about the Python-bugs-list mailing list