numpy-opencv-converter icon indicating copy to clipboard operation
numpy-opencv-converter copied to clipboard

Getting strange TBB error

Open pythonanonuser opened this issue 9 years ago • 3 comments

I compiled on Ubuntu 16.04 with GCC and received this strange error: undefined symbol: _ZTIN3tbb4taskE. I tried with boost 1.58 and boost 1.61.0 and got the same issue. I'm using OpenCV 3.1 in conjunction with pull request #4.



Python 2.7.12 (default, Jul  1 2016, 15:12:24) 
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import np_opencv_module as npcv
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: /home/user/numpy-opencv-converter/build/np_opencv_converter.so: undefined symbol: _ZTIN3tbb4taskE

pythonanonuser avatar Sep 14 '16 23:09 pythonanonuser

Have you solved this problem? i am facing same issue in rails-opencv, same symbol is missing but is LoadError (/home/******/.rvm/gems/ruby-2.3.0/gems/ruby-opencv-0.0.15/lib/opencv.so: undefined symbol: _ZTIN3tbb4taskE your experience might help me solve this issue.

ziaulrehman40 avatar Sep 27 '16 09:09 ziaulrehman40

I can't remember how exactly I solved it. I think I either rebuilt opencv, boost, or both.

pythonanonuser avatar Sep 27 '16 09:09 pythonanonuser

I had left this comment and forgot. I was again trying to resolve this issue today and on googling i got here, next time please make sure to tag like @pythonanonuser this, so user gets notification about it. I will try your solution. Thanks for that.

ziaulrehman40 avatar Nov 09 '16 06:11 ziaulrehman40