I am trying to compile graph-tool on a machine of mine (Ubuntu 16.04, boost
1.60.0 and gcc 5.4.0) . To do this I am using
./configure CXXFLAGS="-std=gnu++14 -Wno-unused-local-typedefs"
PYTHON="/home/pmj27/anaconda2/bin/python2.7" --enable-openmp
--with-boost=/home/pmj27/anaconda2
When importing graph_tool.all in python, however, I get an error message as
follows:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/home/pmj27/anaconda2/lib/python2.7/site-packages/graph_tool/__init__.py",
line 111, in <module>
dl_import("from . import libgraph_tool_core as libcore")
File
"/home/pmj27/anaconda2/lib/python2.7/site-packages/graph_tool/dl_import.py",
line 61, in dl_import
exec(import_expr, local_dict, global_dict)
File "<string>", line 1, in <module>
ImportError: libicui18n.so.56: cannot open shared object file: No such file
or directory
Checking for the location of `libicui18n.so` (/home/pmj27/anaconda2/lib) I
have tried
./configure CXXFLAGS="-std=gnu++14 -Wno-unused-local-typedefs"
PYTHON="/home/pmj27/anaconda2/bin/python2.7"
LDFLAGS="-L/home/pmj27/anaconda2/lib" --enable-openmp
--with-boost=/home/pmj27/anaconda2
this however returns the same error.
Checking `conda list` the icu version that is running is indeed only version
54.1 so I am not surprised that it cannot pick up version 56. I am wondering
though why it is looking for version 56 in the first place. My suspicion is
that this may be an anaconda issue introduced by some package but am not
100% sure. If it is an anaconda issue how would I go about tracking down
which package is causing it to try and import libicui18n.so.56 so that I can
see if there is a fix for it?