Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gohjiayi opened this issue Sep 26, 2021 · 1 comment

Comments

@gohjiayi
Copy link

gohjiayi commented Sep 26, 2021

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
Copy link

KernelA commented Dec 1, 2021

I have a same issue in the conda environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants