I have set `export LD_LIBRARY_PATH="-L/home/pmj27/anaconda/lib"` in
`~/.bashrc` and `~/.profile`. If I type `echo $LD_LIBRARY_PATH` the shell
returns `-L/home/pmj27/anaconda/lib` as I would expect.
However, running `graph_draw` still returns the error `python: symbol lookup
error:
/home/pmj27/anaconda/lib/python2.7/site-packages/graph_tool/draw/libgraph_tool_draw.so:
undefined symbol: _ZN5Cairo7ContextC1EP6_cairob`.
Do you have any other thoughts on what might be going wrong here?
As mentioned, it was compiled using `sudo ./configure CXX="g++-5"
CXXFLAGS="-std=gnu++14 -Wno-unused-local-typedefs"
PYTHON="/home/pmj27/anaconda/bin/python2.7"
CAIROMM_LIBS="-L/home/pmj27/anaconda/include/cairomm-1.0/cairomm"
--enable-openmp`.
This is still wrong. Multiple paths should be separated with ":" not spaces.
Please read a bit on how shared library linking works on GNU/Linux,
otherwise we stay stuck on this game of whack-a-mole:
This doesn't fix it though. It still breaks Nautilus and graph-tool still
returns the same error. I have also checked, a file called
"libcairomm-1.0.so" resides inside "/home/pmj27/anaconda/lib". "libcairo.so"
resides in the same directory. Are these the correct files to be looking
for? I am really very sorry to be taking up your time with this!