I’m in the rather unfortunate position of having to use CentOS (unfortunate because everything on the latest version of CentOS is ancient). Anyway, of course there is no way of installing a reasonablly recent version of python 3 via the package manager (because nobody uses that, right?) so I’ve had to install python 3.6 using python’s make
.
Anyway, the python interpreter itself seems to work ok. But when I try installing PyCall with my python3
binary, it can’t seem to find the libraries.
LoadError: Couldn't find libpython; check your PYTHON environment variable.
The python executable we tried was /usr/local/bin/python3 (= version 3.6);
the library names we tried were String["libpython3.6m.a", "libpython3.6m", "libpython3.6", "libpython"]
and the library paths we tried were String["/usr/local/lib", "/usr/local/lib", "/usr/local", "/usr/local/lib"]
while loading /home/msavastio/.julia/v0.6/PyCall/deps/build.jl, in expression starting on line 255
Thing is, libpython3.6m.a
actually is in /usr/local/lib
. Obviously this is a static library, so PyCall shouldn’t be looking for it right? Do I have to figure out a way to get python to build that dynamic libraries, or is there something else wrong?