graphvite
graphvite copied to clipboard
ImportError: lib/libgraphvite.so: undefined symbol: _ZN6google10LogMessageC1EPKciiiMS0_FvvE
Hi, I'm currently facing some import issues. I've set up a conda environment and followed the necessary installation steps but I'm unable to import graphvite in python.
I've read up on past issues and #23 mentioned to check the runtime path in libgraphvite.so
.
(venv) jiayi@cdas1:~/.../graphvite/lib$ readelf -d libgraphvite.so | grep PATH
0x000000000000001d (RUNPATH) Library runpath: [$ORIGIN:$ORIGIN/../../../..]
As seen above, the run path seems to be unconfigured and @KiddoZhu originally suggested OP to change the path using chrpath -r $ORIGIN:/home/jiayi/anaconda3/envs/venv libgraphvite.so
. However, I'm currently working on a remote server and I do not have sudo access. Are there alternative ways for me to resolve this issue?
(venv) jiayi@cdas1:~/.../graphvite/lib$ chrpath -r $ORIGIN:/home/jiayi/anaconda3/envs/venv libgraphvite.so
Command 'chrpath' not found, but can be installed with:
apt install chrpath
Please ask your administrator.
I have a same issue in the conda environment.