[Gtk-sharp-list] Gtk# Development Platform - Part 2

Mike Kestner mkestner@speakeasy.net
18 Dec 2002 10:12:47 -0600


On Wed, 2002-12-18 at 04:47, Charles Iliya Krempeaux wrote:

>     ** (gtk-hello-world.exe:4135): WARNING **: Could not find assembly
> gtk-sharp
> 
>     Can not open image gtk-hello-world.exe
> 
> Does anyone have any idea of how to fix this?... or what is
> wrong?  (I though it might have something to do with setting
> the MONO_PATH variable.  So I set it to ".:/usr/local/lib:/usr/lib".  
> But that didn't work.)

If gtk-sharp.dll is located in /usr/local/lib, then:

export MONO_PATH=/usr/local/lib

should allow mono to locate the assembly.  If it doesn't, then something
must have broken in the runtime.  You'd probably want to follow up on
that on mono-list, but it's working for me with the Red Carpet mono-0.17
packages.  

-- 
Mike Kestner <mkestner@speakeasy.net>