Package: python-capstone
Version: 3.0.4-0.1
Severity: important

Dear Maintainer,

when I installed python-capstone (version 3.0.4-0.1) and tried to "import
capstone" in a script, I had the following error message:

ImportError                               Traceback (most recent call last)
<ipython-input-1-1222f1a03166> in <module>()
----> 1 import capstone

/usr/lib/python2.7/dist-packages/capstone/__init__.py in <module>()
    228             pass
    229     if _found == False:
--> 230         raise ImportError("ERROR: fail to load the dynamic library.")
    231
    232

ImportError: ERROR: fail to load the dynamic library.

After making apt install libcapstone3, the command "import capstone" works.

I think that python-capstone should depend on the package libcapstone3.

Thanks



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-updates'), (500, 'unstable'), 
(500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.1.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python-capstone depends on:
pn  python:any  <none>

python-capstone recommends no packages.

python-capstone suggests no packages.

-- no debconf information

Reply via email to