cv2 import error

asked 2018-05-09 01:44:08 -0600

System information (version)

  • OpenCV => 3.4.0
  • Operating System / Platform => RHEL 7.3
  • Compiler => gcc 4.8.5
  • Python => 2.7.5

Detailed description

I have created opencv-python rpm package following this tutorial. However it works fine on google cloud rhel server but when I try to install it on on-premise server I get this error.

>>> import cv2
Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
Import Error: /lib64/libgdk-3.so.0: undefined symbol: g_log_structured
edit retag flag offensive close merge delete

Comments

1

glog lib is missing on your system ?

LBerger gravatar imageLBerger ( 2018-05-09 01:55:17 -0600 )edit

But on google cloud server there is no such package yet it works.

premsompura gravatar imagepremsompura ( 2018-05-09 01:59:06 -0600 )edit

Error is not relative to opencv : google error message and and you will find an answer

LBerger gravatar imageLBerger ( 2018-05-09 02:09:10 -0600 )edit