[Pkg-mono-devel] gtk-sharp errors
Alex Combas
yummyfiddlehead@yahoo.com
Sat, 31 Jan 2004 16:13:48 -0800 (PST)
Hi,
I have pinned the unstable mono/gtk-sharp packages
from blade/testing so that they will install on my
tesing machine.
I have test compiled Monodoc and a simple
helloworld in gtk-sharp and both compile fine...
but when I try to run the applications they error.
Here is the output from the helloworld in gtk-sharp
from the monohandbook:
./hellogtk.exe
** (./hellogtk.exe:17281): WARNING **: Failed to load
library ./libgtk-x11-2.0.so (libgtk-x11-2.0.so):
./libgtk-x11-2.0.so: cannot open shared object file:
No such file or directory
** (./hellogtk.exe:17281): WARNING **: Failed to load
library ./libgtk-x11-2.0.so (libgtk-x11-2.0.so):
./libgtk-x11-2.0.so: cannot open shared object file:
No such file or directory
Unhandled Exception: System.MissingMethodException: A
missing method exception has occurred.
in <0x00042> (wrapper managed-to-native)
Gtk.Application:gtk_init (int,intptr)
in <0x0002a> Gtk.Application:Init ()
in <0x00011> .Hello:Main ()
//I tried running them through mono to see if there
is any different but i get the same errors, eg:
$ mono hellogtk.exe
** (hellogtk.exe:17290): WARNING **: Failed to load
library ./libgtk-x11-2.0.so (libgtk-x11-2.0.so):
./libgtk-x11-2.0.so: cannot open shared object file:
No such file or directory
** (hellogtk.exe:17290): WARNING **: Failed to load
library ./libgtk-x11-2.0.so (libgtk-x11-2.0.so):
./libgtk-x11-2.0.so: cannot open shared object file:
No such file or directory
Unhandled Exception: System.MissingMethodException: A
missing method exception has occurred.
in <0x00042> (wrapper managed-to-native)
Gtk.Application:gtk_init (int,intptr)
in <0x0002a> Gtk.Application:Init ()
in <0x00011> .Hello:Main ()
//It is only the gtk-sharp packages that has trouble,
so far I have had no problems compiling and running
plain c# apps using the blade/testing mono package.
Is this simply a problem because most of my system
is sarge and the gtk-sharp packages are for sid?
Alex
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/