Christian Heimes <li...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue38987>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to