Bug#896872: csound: python import ctcsound requires libcsound64-dev

james cameron quozl at laptop.org
Wed Apr 25 08:42:41 BST 2018


Package: csound
Version: 1:6.10.0~dfsg-1
Severity: minor

Dear Maintainer,

   * What led up to the situation?

Install Csound.  Write a test program for ctcsound module.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

Python "import ctcsound".

   * What was the outcome of this action?

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/ctcsound.py", line 29, in <module>
    libcsound = CDLL("libcsound64.so")
  File "/usr/lib/python2.7/ctypes/__init__.py", line 366, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: libcsound64.so: cannot open shared object file: No such file or directory

   * What outcome did you expect instead?

Successful import.

python-csound package is installed, same version as csound.

Expected that the python-csound package would provide everything needed to support the import of ctcsound module.

Workaround is to install libcsound64-dev package, which adds an unversioned symlink to the library.

-- System Information:
Debian Release: 9.4
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-6-amd64 (SMP w/1 CPU core)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages csound depends on:
ii  libc6            2.24-11+deb9u3
ii  libcsound64-6.0  1:6.10.0~dfsg-1
ii  libgcc1          1:6.3.0-18+deb9u1
ii  libstdc++6       6.3.0-18+deb9u1

Versions of packages csound recommends:
ii  csound-utils  1:6.10.0~dfsg-1

csound suggests no packages.

-- no debconf information



More information about the pkg-multimedia-maintainers mailing list