Bug#759806: opencv-contrib unsatisfied dependency

Vadim Zaliva lord at crocodile.org
Sat Aug 30 15:45:20 UTC 2014


Package: opencv
Version: 2.4.9

I am trying to build opencv-2.4.9 package on RasperryPI (Raspbian).
The actual release it is running is Wheezy, but the package I am
trying to build is from Jessie.

All build dependencies are satisfied and the code compiles OK.
However after compilation I get the following error:

dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libopencv-contrib2.4/usr/lib/arm-linux-gnueabihf/libopencv_contrib.so.2.4.9 was not linked against libGL.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: error: cannot continue due to the error above
Note: libraries are not searched in other binary packages that do not have any shlibs or symbols file.
To help dpkg-shlibdeps find private libraries, you might need to set LD_LIBRARY_PATH.
dh_shlibdeps: dpkg-shlibdeps -Tdebian/libopencv-contrib2.4.substvars debian/libopencv-contrib2.4/usr/lib/arm-linux-gnueabihf/libopencv_contrib.so.2.4.9 returned exit code 2
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2

The library which is not found is actually present:

i at lordberry ~/tmp/opencvpkg $ find . -name libopencv_nonfree.\*
./debian/tmp/usr/lib/arm-linux-gnueabihf/libopencv_nonfree.so.2.4.9
./debian/tmp/usr/lib/arm-linux-gnueabihf/libopencv_nonfree.a
./debian/tmp/usr/lib/arm-linux-gnueabihf/libopencv_nonfree.so
./debian/tmp/usr/lib/arm-linux-gnueabihf/libopencv_nonfree.so.2.4
./obj-arm-linux-gnueabihf/lib/libopencv_nonfree.so.2.4.9
./obj-arm-linux-gnueabihf/lib/libopencv_nonfree.so
./obj-arm-linux-gnueabihf/lib/libopencv_nonfree.so.2.4
./release/lib/libopencv_nonfree.so.2.4.9
./release/lib/libopencv_nonfree.so
./release/lib/libopencv_nonfree.so.2.4




Sincerely,
Vadim Zaliva

--
"Hated by fools, and fools to hate, be that my motto and my fate"
(Jonathan Swift)



More information about the debian-science-maintainers mailing list