Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libpydarknet.so: undefined symbol #4

Open
alduxvm opened this issue May 24, 2017 · 0 comments
Open

libpydarknet.so: undefined symbol #4

alduxvm opened this issue May 24, 2017 · 0 comments

Comments

@alduxvm
Copy link

alduxvm commented May 24, 2017

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant