[Gtk-sharp-list] Make Gtk# come with program

Jonathan Pryor jonpryor at vt.edu
Sun Feb 12 19:41:02 EST 2006


On Sun, 2006-02-12 at 22:52 +0100, Thomas Pryds Lauritsen wrote:
> Jonathan Pryor wrote:
> Thank you a lot for your answer. It seems to have made me come further
> towards the goal, indeed. However, I still get an error when trying to
> run the program on the Fedora system:
> 
> [thomas at thorn DizniLogsTest]$ export
> LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/thomas/temp/DizniLogsTest/
> [thomas at thorn DizniLogsTest]$ mono DizniLogs.exe
> 
> Unhandled Exception: System.TypeInitializationException: An exception
> was thrown by the type initializer for Gtk.Container --->
> System.DllNotFoundException: gtksharpglue-2

Just as a sanity check, does /home/thomas/temp/DizniLogsTest/ contain
the file libgtksharpglue-2.so?  If it doesn't, that would explain the
error.

If you do have libgtksharpglue-2.so in that directory, you're going to
need more information.  Run mono with MONO_LOG_LEVEL=info
MONO_LOG_MASK=dll set, and send the trace output, e.g.

	$ MONO_LOG_LEVEL=info MONO_LOG_MASK=dll mono DizniLogs.exe

Given the above output below, you *do* have libgtksharpglue-2.so, so you
should attach the trace output generated from the above command.

 - Jon




More information about the Gtk-sharp-list mailing list