I am deploying a django server.
I've already installed python 3.5 without errors, but for some problems when I tried to compile mod_wsgi (so I could share the
django app in an intranet environment with apache):
it told me that Failed to locate the Python library /usr/local/lib/libpython3.3m.so.
Searching for the solution on Google, I found this solution explaining that I needed to recompile python3 with --enable-shared flag.
so, I proceeded to remove python3 and python3.5 from
/usr/local/bin and recompiled python3. Everything was fine, until I tried to check the python version with python3 --version and I got the following:
[rortega@Production Python-3.5.2]$ python3 --version python3: error while loading shared libraries: libpython3.5m.so.1.0: cannot open shared object file: No such file or directory
I can't find any solution to this.