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

Charles Iliya Krempeaux charles@reptile.ca
25 Apr 2003 04:37:05 -0700


Hello,

Acutally, do this instead...

    export MONO_PATH=/usr/lib:/usr/local/lib
    mono helloworld.exe


See ya


On Fri, 2003-04-25 at 04:34, Charles Iliya Krempeaux wrote:
> Hello,
> 
> Try doing this...
> 
>     export LD_LIBRARY_PATH=/lib:/usr/lib/:/usr/local/lib
>     mono helloworld.exe
> 
> 
> See ya
> 
> On Sat, 2003-04-26 at 03:19, Paul wrote:
> > 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.
> > 
> > 
> > _______________________________________________
> > Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
-- 
     Charles Iliya Krempeaux, BSc
     charles@reptile.ca

________________________________________________________________________
 Reptile Consulting & Services    604-REPTILE    http://www.reptile.ca/