Hi,
I've had a whole of lot of trouble with this gtk widget I wrote and
wrapped in gnome-python. The module compiled and worked on RedHat, but
would only compile on Debian. When I run it it would stop with
"Undefined
symbol ..."
Turned out the problem was that RedHat patched Python so that modules
are
loaded with RTLD_GLOBAL.
So after specifying that the module should link against all known
libraries, it now runs. BUT it spits out a lot of errors like this:
/usr/bin/convert: No such file or directory
gdk_imlib ERROR: Cannot load image:
/usr/share/themes/E-Brushed/gtk/bc.xpm
All fallbacks failed.
So what library do I still need to link in? Imagemagick is installed and
the convert program does exist. My current LDSHARED looks like this:
-L/usr/X11R6/lib -L/usr/lib -lICE -lIIOP -lORBit -lORBitCosNaming
-lORBitutil -lSM -lX11 -lXext -lXi -lart_lgpl -laudiofile -lc -ldb -ldl
-lesd -lgdk -lgdk_imlib -lglib -lgmodule -lgnome -lgnomesupport
-lgnomeui -lgnorba -lgtk -ljpeg -lm -lpng -ltiff -lz -rdynamic -shared
Yes I know it's too much. I'm desperate. :-)
All my other programs works perfectly.
--
Danie Roux
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk