yjxiong/darknet

libpydarknet.so: undefined symbol

Opened this issue · 0 comments

Hi!

I'm getting this error when testing python __init__.py :

$ python __init__.py 
Traceback (most recent call last):
  File "__init__.py", line 1, in <module>
    from detector import Darknet_ObjectDetector as ObjectDetector
  File "/home/dashboard/modules/new/darknet/pyDarknet/detector.py", line 1, in <module>
    from libpydarknet import DarknetObjectDetector
ImportError: /home/dashboard/modules/new/darknet/pyDarknet/libpydarknet.so: undefined symbol: _ZN5boost6python6detail11init_moduleER11PyModuleDefPFvvE

I know it is a boost error, to install boost I did the typical sudo apt-get install libboost-all-dev. My system is an Ubuntu 16.04, CUDA 8 and opencv 3.2.0.

Compilation when with no problems, only the typical nvcc warnings of The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).

Any ideas on how to solve the problem?

Thanks!