Bug#492938: /usr/lib/python2.5/site-packages/_pgmmodule.so: linked with libpigment-0.3.so.4, but libpigment-0.3.so.5 installed

Jānis Rūcis parasti at gmail.com
Wed Jul 30 02:30:58 UTC 2008


Package: python-pgm
Version: 0.3.3-2+b1
Severity: grave
File: /usr/lib/python2.5/site-packages/_pgmmodule.so
Justification: renders package unusable

I discovered this problem while trying to debug weird launch behaviour
in Elisa, an "open source media center" packaged in Debian.  python-pgm
was pulled in as one of the dependencies of that package.

Here's a bunch of output from various commands to demonstrate the
problem.

    $ python
    Python 2.5.2 (r252:60911, May 28 2008, 08:35:32) 
    [GCC 4.2.4 (Debian 4.2.4-1)] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import pgm
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "/usr/lib/python2.5/site-packages/pgm/__init__.py", line 28, in <module>
        from _pgm import *
    ImportError: libpigment-0.3.so.4: cannot open shared object file: No such file or directory
    >>>

    $ ldd /usr/lib/python2.5/site-packages/_pgmmodule.so
    	[..]
    	libpigment-0.3.so.4 => not found
    	[..]

    $ dpkg -S libpigment-0.3.so
    libpigment0.3-4: /usr/lib/libpigment-0.3.so.5.0.0
    libpigment0.3-4: /usr/lib/libpigment-0.3.so.5

All the weird Elisa errors went away after I opened _pgmmodule.so in a
text editor and simply replaced the string that says
"libpigment-0.3.so.4" with "libpigment-0.3.so.5".

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)
Locale: LANG=lv_LV.UTF-8, LC_CTYPE=lv_LV.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-pgm depends on:
ii  libatk1.0-0                1.22.0-1      The ATK accessibility toolkit
ii  libc6                      2.7-10        GNU C Library: Shared libraries
ii  libcairo2                  1.6.4-6       The Cairo 2D vector graphics libra
ii  libglib2.0-0               2.16.4-2      The GLib library of C routines
ii  libgstreamer-plugins-base0 0.10.19-2     GStreamer libraries from the "base
ii  libgstreamer0.10-0         0.10.19-3     Core GStreamer libraries and eleme
ii  libgtk2.0-0                2.12.10-2     The GTK+ graphical user interface 
ii  libpango1.0-0              1.20.5-1      Layout and rendering of internatio
ii  libpigment0.3-4            0.3.6-1       User interfaces with embedded mult
ii  libxml2                    2.6.32.dfsg-2 GNOME XML library
ii  python                     2.5.2-1       An interactive high-level object-o
ii  python-cairo               1.4.12-1.1    Python bindings for the Cairo vect
ii  python-central             0.6.8         register and build utility for Pyt
ii  python-gobject             2.14.2-1      Python bindings for the GObject li
ii  python-gst0.10             0.10.12-1     generic media-playing framework (P
ii  python-gtk2                2.12.1-6      Python bindings for the GTK+ widge
ii  python-imaging             1.1.6-3       Python Imaging Library
ii  python-twisted-core        8.1.0-3       Event-based framework for internet

python-pgm recommends no packages.

python-pgm suggests no packages.

-- no debconf information





More information about the Pkg-gstreamer-maintainers mailing list