Am 28.02.20 um 21:55 schrieb Kambiz Tavabi:
I’ve managed to install graph-tool version 2.29 (commit d4154c6c) via aptitude installer on Ubuntu 18.04 in a python3 miniconda venv. The following example gist causes a 127 exit code caused by some sort of fudged up library linking to libgraph_tool_draw.so with:
undefined symbol: _ZN5Cairo7Context16select_font_faceERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_9FontSlantENS_10FontWeightE
If you used the ubuntu package, the library was installed in the system's Python environment. The missing symbol is probably due to your anaconda environment having different library versions. If you want to use anaconda, you should install graph-tool from there, otherwise this kind of mismatch is bound to happen.
Incidentally, when try to compile graph-tool from upstream master the make routine fails with a libtools error on reading libsigc-2.0.la <http://libsigc-2.0.la> in my configuration using --with-python-module-path=…/miniconda3/envs/mne/lib/python3.7/site-packages.
If you want help with compilation, you need to provide more information, including the entire contents of the config.log file, as well as the entire output of the configure command, together with the entire error messages, not only snippets. Best, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>