[Libguestfs] libguestfsmod.so.0.0.0

Richard W.M. Jones rjones at redhat.com
Thu Jun 16 10:28:12 UTC 2011

On Thu, Jun 16, 2011 at 01:02:21PM +0300, Cüneyt Sina Koca wrote:
> Since the code im trying to gave this error :
> ImportError: /usr/lib/pymodules/python2.6/libguestfsmod.so: undefined
> symbol: PyCapsule_New
> I copied this libguestfsmod.so.0.0.0
> from python-libguestfs-1.9.10-1.1.x86_64.rpm package and the code works fine
> now.
> When I compared the sizes of these files, libguestfsmod.so.0.0.0 file
> in python-libguestfs-1.9.10-1.1.x86_64.rpm package and libguestfs.so.0.284.0
> file in libguestfs0_1.11.8-1_amd64.deb has huge size difference.

libguestfsmod.so is the python module.

libguestfs.so is the libguestfs C library.

They're not related to each other, and comparing the sizes doesn't
make sense.

Back to the original error:

> ImportError: /usr/lib/pymodules/python2.6/libguestfsmod.so: undefined
> symbol: PyCapsule_New

This is because you've got some older version of Python that
didn't have that the new PyCapsule API.


Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)

More information about the Libguestfs mailing list