That is strange indeed. I have downgraded to the anaconda version of boost
(v1.60) and boost-python (v1.60) by sseefeld. The configure commands are
unchanged as ./configure --prefix=$HOME/.local
--with-boost=/home/pmj27/anaconda2 CXX="g++-5" CXXFLAGS="-std=gnu++14
-Wno-unused-local-typedefs" PYTHON="/home/pmj27/anaconda2/bin/python2.7"
CPPFLAGS="-I/home/pmj27/anaconda2/include"
LDFLAGS="-L/home/pmj27/anaconda2/lib" --enable-openmp which seems to still
run happily ( config.log
<http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/file/n4027082/config.log>
) but during make this boost configuration also complains, albeit
differently ( screengrab.dat
<http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/file/n4027082/screengrab.dat>
). Is there any way of narrowing down the root of the error?
Similar error on a different sysyem. I ran ./configure CXXFLAGS="-std=gnu++14
-Wno-unused-local-typedefs" PYTHON="/home/pmj27/anaconda2/bin/python2.7"
CAIROMM_LIBS="-L/home/pmj27/anaconda2/include/cairomm-1.0/cairomm"
--enable-openmp --with-boost=/home/pmj27/anaconda2 so didn't have any
CPPFLAGS
This now compiles and works on one of my machines. My other machine now
complains about libicudata.so.56:
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: libicudata.so.56: cannot open shared object file: No such file
or directory
This may be an anaconda issue but I am not sure. Do you have any thoughts on
this? I will open a ticket for this so we can close this thread down.
This is not a bug in graph-tool. The linker cannot find that library. You
have to find where that is, and put its path into the LD_LIBRARY_PATH
environment variable. Or pass it as "-Wl,-rpath=", as explained in the
documentation.