Re: [java-gnome-hackers] GtkWindow XID
Brought to you by:
afcowie
From: Emmanuel R. <emm...@gm...> - 2009-10-25 12:03:40
|
On Sun, Oct 25, 2009 at 12:34 PM, Goundy <go...@gm...> wrote: > Morning, > > Emmanuel Rodriguez wrote: > > > > > > java-gnome is probably not linking against gdk-x11 > > Try to see if you can link it with gdk-x11-2.0 from pkg-config > > > > You can find the exact linker flags by running: > > > > pkg-config --libs gdk-x11-2.0 > > > > > Actually it is, I've: > goundy@localhost ~ $ pkg-config --libs gdk-x11-2.0 > -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo > -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 > > That's kinda weird. > No exactly, this just means that you have the libraries installed, but java-gnome might not be using them (linked). Check with ldd if the java-gnome .so is linked with gdk-x11 ldd tmp/libgtkjni-*.so | grep gdk-x11-2.0 If ldd doesn't show the file then it isn't linked. Try to link it your self by hand: rm tmp/libgtkjni-*.so LDFLAGS=`pkg-config --libs gdk-x11-2.0` build/faster If ldd shows the file in the dependency list then there's something strange going on. -- Emmanuel Rodriguez |