DeepGraphLearning / graphvite

GraphVite: A General and High-performance Graph Embedding System
https://graphvite.io
Apache License 2.0
1.21k stars 151 forks source link

ImportError: lib/libgraphvite.so: undefined symbol: _ZN6google10LogMessageC1EPKciiiMS0_FvvE #89

Open gohjiayi opened 2 years ago

gohjiayi commented 2 years ago

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.
KernelA commented 2 years ago

I have a same issue in the conda environment.