Problems installing Python 3 with --enable-shared
问题 Problem I'm trying to install Python 3 with the --enable-shared option. Installation "succeeds" but the resulting Python is not runnable. Trying to run Python after installation gives the following error: $ /opt/python3/bin/python3.5 /opt/python3/bin/python3.5: error while loading shared libraries: libpython3.5m.so.1.0: cannot open shared object file: No such file or directory Background The OS is Debian (squeeze), and has a previous installation of Python 2.6, which is necessary to retain