[Gtk-sharp-list] Cant run GTK# program

Paul gtksharpbestworldweb.homelinux.com@bestworlweb.homelinux.com
Sat, 26 Apr 2003 22:19:52 +1200


Hi  all,

I have compiled a program (the hello world program on the 
mono handbook)

I compile it with this:

[paulb@paulsmachine mono]$ mcs 
/r:/usr/local/lib/gtk-sharp.dll 
/r:/usr/local/lib/glib-sharp.dll  helloworld.cs

The result:

Compilation succeeded

When I run it I get the following errors, what should I do:

[paulb@paulsmachine mono]$ mono helloworld.exe

** (helloworld.exe:2541): WARNING **: Failed to load library 
libgtksharpglue.so (gtksharpglue): libgtksharpglue.so: 
cannot open shared object file: No such file or directory

** (helloworld.exe:2541): WARNING **: Failed to load library 
libgtksharpglue.so (gtksharpglue): libgtksharpglue.so: 
cannot open shared object file: No such file or directory

** (helloworld.exe:2541): WARNING **: Failed to load library 
libgtksharpglue.so (gtksharpglue): libgtksharpglue.so: 
cannot open shared object file: No such file or directory

** (helloworld.exe:2541): WARNING **: Failed to load library 
libgtksharpglue.so (gtksharpglue): libgtksharpglue.so: 
cannot open shared object file: No such file or directory

** (helloworld.exe:2541): WARNING **: Failed to load library 
libgtksharpglue.so (gtksharpglue): libgtksharpglue.so: 
cannot open shared object file: No such file or directory

** (helloworld.exe:2541): WARNING **: Failed to load library 
libgtksharpglue.so (gtksharpglue): libgtksharpglue.so: 
cannot open shared object file: No such file or directory

** (helloworld.exe:2541): WARNING **: Failed to load library 
libgtksharpglue.so (gtksharpglue): libgtksharpglue.so: 
cannot open shared object file: No such file or directory

** (helloworld.exe:2541): WARNING **: Failed to load library 
libgtksharpglue.so (gtksharpglue): libgtksharpglue.so: 
cannot open shared object file: No such file or directory

** (helloworld.exe:2541): WARNING **: Failed to load library 
libgtksharpglue.so (gtksharpglue): libgtksharpglue.so: 
cannot open shared object file: No such file or directory

** (helloworld.exe:2541): WARNING **: Failed to load library 
libgtksharpglue.so (gtksharpglue): libgtksharpglue.so: 
cannot open shared object file: No such file or directory

** (helloworld.exe:2541): WARNING **: Failed to load library 
libgtksharpglue.so (gtksharpglue): libgtksharpglue.so: 
cannot open shared object file: No such file or directory

** (helloworld.exe:2541): WARNING **: Failed to load library 
libgtksharpglue.so (gtksharpglue): libgtksharpglue.so: 
cannot open shared object file: No such file or directory

** (helloworld.exe:2541): WARNING **: Failed to load library 
libgtksharpglue.so (gtksharpglue): libgtksharpglue.so: 
cannot open shared object file: No such file or directory

** (helloworld.exe:2541): WARNING **: Failed to load library 
libgtksharpglue.so (gtksharpglue): libgtksharpglue.so: 
cannot open shared object file: No such file or directory

Unhandled Exception: System.MissingMethodException: A 
missing method exception has occurred.
in <0x00046> 06 Gtk.Object:gtksharp_object_is_floating 
(intptr)
in <0x0003b> 00 Gtk.Object:set_Raw (intptr)
in <0x00062> 00 Gtk.Window:.ctor (Gtk.WindowType)
in <0x00047> 00 Gtk.Window:.ctor (string)
in <0x00036> 00 .Hello:Main ()


Thanks for your help in advance.