Bug#977578: python3-opencv: Incomplete dependency on libcharls2

Dima Kogan dkogan at debian.org
Thu Dec 17 03:42:30 GMT 2020


Package: python3-opencv
Version: 4.2.0+dfsg-6+b6
Severity: normal
X-Debbugs-Cc: none, Dima Kogan <dkogan at debian.org>

Hi. I just upgraded my python opencv bindings on Debian/sid:

  apt install python3-opencv

This worked. But then this happened:

  dima at fatty:~$ python3

  Python 3.9.1 (default, Dec  8 2020, 07:51:42) 
  [GCC 10.2.0] on linux
  Type "help", "copyright", "credits" or "license" for more information.

  >>> import cv2
  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
  ImportError: libcharls.so.2: cannot open shared object file: No such file or directory

I had libcharls2=2.0.0+dfsg-1 (the current stable release). It called
that library libCharLS.so.2 instead of libcharls.so.2. Upgrading
libcharls2 to the current Debian/sid version fixed the problem. Opencv
should update its dependency.



More information about the debian-science-maintainers mailing list