This problem can be fixed by using python-1.5.1.  It is cased because the
dynamic libraries that are loaded by gdk_imlib to load images expect
gdk_imlib's symbols to be visible in the main executable.  This was no
problem with python <= 1.5.1, since extension modules were loaded with the
RTLD_GLOBAL flag.

The correct fix is to make the image loading libraries depend on
gdk_imlib, so the gdk_imlib symbols are visible to them.  Unfortunately
past versions of libtool did not allow you to give a libtool library as a
dependency to another.  However, aparently the latest version, libtool 
1.3b, can do this.  I will commit a fix to imlib sometime soon.

If you are only using released versions of packages, the best solution is
to use python 1.5.1, or modify python 1.5.2 to use the RTLD_GLOBAL flag
when loading extension modules.

James.

--
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/


On Fri, 16 Jul 1999, Fred L. Drake wrote:

> 
>   I've been trying to load XPM and PNG images with transparency into
> the GnomeIconList widget, and appearantly am doing it wrong.  I'm
> expected that a shape mask is built or can be built, but appearanly
> it's not happening.
>   If I create the image using GdkImlib.Image(filename) and add it to
> the icon list using GnomeIconList.append_imlib(), the transparent
> areas are shown as black.  If I call GdkImlib.set_image_shape(0, 0,
> 0), I lose the portions of the images that are atually black.  It
> doesn't look like gdk_imlib_create_image_from_xpm_data() is is
> exported in the Python binding, and that still wouldn't help with PNG
> images (even if it helps with XPMs).
>   Any suggestions?  The Imlib "tutorial" does not raise my confidence.
> 
> 
>   -Fred
> 
> --
> Fred L. Drake, Jr. <[EMAIL PROTECTED]>
> Corporation for National Research Initiatives
> To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
> 

To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

Reply via email to