Skip to content

Error in using glue_stick_demo.ipynb #32

@shenw000

Description

@shenw000

When I run the command "import homography_est as hest" in glue_stick_demo.ipynb, the following error appears:


ImportError Traceback (most recent call last)
Cell In[1], line 1
----> 1 import homography_est as hest
3 line_seg0 = [hest.LineSegment(l[0], l[1])
4 for l in matched_lines0.reshape(-1, 2, 2)]
5 line_seg1 = [hest.LineSegment(l[0], l[1])
6 for l in matched_lines1.reshape(-1, 2, 2)]

ImportError: /lib/libceres.so.1: undefined symbol: _ZN6google21kLogSiteUninitializedE


So I look into the version of /lib/libceres.so.1, by command:
ls -ll /lib/* | grep libceres
the following appears:


-rw-r--r-- 1 root root 9847228 Jun 12 2020 /lib/libceres.a
lrwxrwxrwx 1 root root 13 Jun 12 2020 /lib/libceres.so -> libceres.so.1
lrwxrwxrwx 1 root root 18 Jun 12 2020 /lib/libceres.so.1 -> libceres.so.1.14.0
-rw-r--r-- 1 root root 2824976 Jun 12 2020 /lib/libceres.so.1.14.0


That means the actual version of /lib/libceres.so.1 is /lib/libceres.so.1.14.0
Is this the correct version for /lib/libceres.so.1?
Any suggestion how to fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions