ImportError: libglog.so.1: cannot open shared object file: No such file or directory
I installed gflags (sudo), and glog (version 0.6.0, installed using source code compilation), then installed Ceres Solver (latest) using source code compilation, and then installed pyceres (clone and python -m pip install .) then installed colmap (latest version) and finally pycolmap. I ran the test_BA.ipynb of examples in pycharm, and the following error occurred:
ImportError Traceback (most recent call last) Cell In[1], line 3 1 get_ipython().run_line_magic('load_ext', 'autoreload') 2 get_ipython().run_line_magic('autoreload', '2') ----> 3 import pyceres 4 import pycolmap 5 import numpy as np
ImportError: libglog.so.1: cannot open shared object file: No such file or directory
Depending on where the glog library was installed, you might need to make it available, for example by running this in bash:
export LD_LIBRARY_PATH=/usr/local/lib:${LD_LIBRARY_PATH}
Depending on where the glog library was installed, you might need to make it available, for example by running this in bash:
export LD_LIBRARY_PATH=/usr/local/lib:${LD_LIBRARY_PATH}
thanks!