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:
> 
> [EMAIL PROTECTED] DizniLogsTest]$ export
> LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/thomas/temp/DizniLogsTest/
> [EMAIL PROTECTED] 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


_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to