If you make a symbolic link ln -s libicui18n.so.54 libicui18n.so.56 in your conda environment, it will probably work… On Wed, Mar 8, 2017 at 1:08 PM, Tiago de Paula Peixoto <tiago@skewed.de> wrote:
On 08.03.2017 17:37, P-M wrote:
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?
This is not a graph-tool problem at all, is it? I think you are better off seeking help in an anaconda forum.
Simple question: Does the file libicui18n.so.56 exist at all in your system?
-- Tiago de Paula Peixoto <tiago@skewed.de>
_______________________________________________ graph-tool mailing list graph-tool@skewed.de https://lists.skewed.de/mailman/listinfo/graph-tool