graphvite: undefined symbol: _ZN3fLS13FLAGS_log_dirE
Hi,
When I was trying to install it from source I got error when executing
python setup.py install
The message is as follow:
Traceback (most recent call last):
File "setup.py", line 22, in <module>
from graphvite import __version__, lib_path, lib_file
File "/home/husong/graphvite/python/graphvite/__init__.py", line 36, in <module>
lib = imp.load_dynamic("libgraphvite", lib_file)
ImportError: /home/husong/graphvite/python/graphvite/../../build/lib/libgraphvite.so: undefined symbol: _ZN3fLS13FLAGS_log_dirE
Any idea why this is happening? How can I get around this problem?
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 17
The issue continued to persist for me as well (like #89), I solved as follows:
Update as follows (some requirements commented out):
Install remaining dependencies and then install gaphvite from conda:
Please check if you see the following files:
At this point, open
python:And check:
echo $LD_LIBRARY_PATHFind
libglog:Open
pythonFrom command line:
I did not have to comment out any part of the code or change the
RUNPATH. However, at this point, I only noted one issue, I cannot importfaissandgraphviteat same time and I presume this conflict is due tolibfaiss.soprovided in bothfaiss-gpuandgraphvitefrom their respective conda installations and depending on the order of import, the relevant dynamic file is linked:and other way around:
This issue persists even after installing intel-openmp=2019.4. Can someone please consolidate these requirements and update in requirements file or add necessary steps user should run?