PythonMagick package is broken

Bug #384256 reported by TimRedfern
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pythonmagick (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: python-pythonmagick

Description: Ubuntu 9.04
Release: 9.04

python-pythonmagick:
  Installed: 0.8-0ubuntu2
  Candidate: 0.8-0ubuntu2
  Version table:
 *** 0.8-0ubuntu2 0
        500 http://ie.archive.ubuntu.com jaunty/universe Packages
        100 /var/lib/dpkg/status

PythonMagick doesn't install correctly and when manually installed, the compiled library seems to be missing dependencies.

sudo apt-get install python-pythonmagick
[sudo] password for tim:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libmagick++1
The following NEW packages will be installed:
  libmagick++1 python-pythonmagick
0 upgraded, 2 newly installed, 0 to remove and 38 not upgraded.
Need to get 694kB of archives.
After this operation, 3015kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ie.archive.ubuntu.com jaunty/main libmagick++1 7:6.4.5.4.dfsg1-1ubuntu3 [188kB]
Get:2 http://ie.archive.ubuntu.com jaunty/universe python-pythonmagick 0.8-0ubuntu2 [506kB]
Fetched 694kB in 6s (107kB/s)
Selecting previously deselected package libmagick++1.
(Reading database ... 159018 files and directories currently installed.)
Unpacking libmagick++1 (from .../libmagick++1_7%3a6.4.5.4.dfsg1-1ubuntu3_i386.deb) ...
Selecting previously deselected package python-pythonmagick.
Unpacking python-pythonmagick (from .../python-pythonmagick_0.8-0ubuntu2_i386.deb) ...
Setting up libmagick++1 (7:6.4.5.4.dfsg1-1ubuntu3) ...

Setting up python-pythonmagick (0.8-0ubuntu2) ...

Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Processing triggers for python-support ...
tim@herge:~$ python
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import PythonMagick
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "PythonMagick/__init__.py", line 1, in <module>
    import _PythonMagick
ImportError: No module named _PythonMagick

---------------------------------------
which means the .so module isn't being found.

I edited /var/lib/python-support/python2.6/.path and added the directory containing PythonMagick.so thus:

PythonMagick
/var/lib/python-support/python2.6/PythonMagick

Now I get this:

tim@herge:~$ python
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import PythonMagick
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "PythonMagick/__init__.py", line 1, in <module>
    import _PythonMagick
ImportError: /var/lib/python-support/python2.6/PythonMagick/_PythonMagick.so: undefined symbol: _ZTIN5boost6python15instance_holderE

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.