Bug#838916: libopencv-dev is probably missing a dependency on libtbb-dev

Johannes Schauer josch at debian.org
Mon Sep 26 13:06:44 UTC 2016


Package: libopencv-dev
Version: 3.0.0+dfsg-1~exp7
Severity: normal

Hi,

when trying to build my opencv project which uses:

target_link_libraries(... ${OpenCV_LIBS})

I get the following error:

/usr/bin/ld: cannot find -ltbb
collect2: error: ld returned 1 exit status

The reason for that is, thaht I don't have the libtbb-dev package
installed which provides the libtbb.so symlink.

opencv requires libtbb as can be seen from
/usr/share/OpenCV/OpenCVModules-release.cmake

Installing libtbb-dev fixes the problem.

Thanks!

cheers, josch



More information about the debian-science-maintainers mailing list