Package: python-pygraphviz
Version: 0.34-1
Severity: grave

I have libgraphviz3 2.12-3 and python-pygraphviz 0.34-1 and on
'import pygraphviz' it gives me this:

ImportError: libagraph.so.2: cannot open shared object file: No such file or directory

In fact libagraph.so.2 does not exist, as it has been replaced by libagraph.so.3:

$ dpkg -L libgraphviz3 |grep libagraph
/usr/lib/libagraph.so.3.0.0
/usr/lib/libagraph.so.3

Unfortunately pygraphviz still links to the old version because it didn't notice the soname change as it unversioned depends on the graphviz package, instead of depending on the correct version of libgraphviz.

$ ldd /usr/lib/python-support/python-pygraphviz/python2.4/pygraphviz/_graphviz.so|grep 'not found'
        libagraph.so.2 => not found
        libcdt.so.2 => not found


--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.22-rc2

Debian Release: lenny/sid
  500 unstable        www.emdebian.org
  500 unstable        ftp.uk.debian.org
  500 unstable        debian.fastweb.it

--- Package information. ---
Depends             (Version) | Installed
=============================-+-===========
python-support     (>= 0.3.4) | 0.6.4
python               (<< 2.6) | 2.4.4-6
python               (>= 2.4) | 2.4.4-6
graphviz                      | 2.12-3
libc6              (>= 2.5-5) | 2.5-8


--
Buongiorno.
Complimenti per l'ottima scelta.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to