[Gtk-sharp-list] gtk-sharp os x, library not found

Mike Kestner mkestner@speakeasy.net
Tue, 06 Jan 2004 14:58:39 -0600


On Mon, 2004-01-05 at 15:42, Pierre Andrews wrote:

> ** (button.exe:1459): WARNING **: Failed to load library 
> ./libgtk-x11-2.0.dylib (libgtk-x11-2.0.dylib): dlcompat: file 
> "./libgtk-x11-2.0.dylib" not found
> 
> I you have followed everything, you see that I still have the same 
> error. even if MONO_PATH is set to my libraries path: 
> /sw/lib/:/usr/lib:/usr/local/lib
> (libgtk-x11-2.0.dylib being in /sw/lib)

On linux the native lib access is controlled by LD_LIBRARY_PATH.  You
need the comparable variable on OS X.  MONO_PATH is only used for the
assemblies, not the native lib loading.
-- 
Mike Kestner <mkestner@speakeasy.net>