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

Charles Iliya Krempeaux charles@reptile.ca
25 Apr 2003 09:48:53 -0700


Hello,

First,... the e-mail address you have in the "Reply-To"
field is message up.  (You should fix that.)

Second....

On Sat, 2003-04-26 at 04:50, Paul wrote:
> I tried it and it worked! I logged out then tried it again 
> and it didnt! Any idea?

The "export" statement only works for that session.  If you
logout, or close that shell windows, that setting goes away.

To make it permanent for you user account, you could add it
to you "~/.bashrc" file.

It you want to make a system wide setting change, you could
always modify "/etc/bashrc".


See ya



> Cheers
> 
> Paul
> 
> On Fri, 25 Apr 2003 11:37 pm, Charles Iliya Krempeaux wrote:
> > 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-li
> > > >st
-- 
     Charles Iliya Krempeaux, BSc
     charles@reptile.ca

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