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

Seth Kurtzberg seth@cql.com
Tue, 6 Jan 2004 14:24:22 -0700


OSX is a front end bound to BSD UNIX, and as such uses LD_LIBRARY_PATH. 
  LD_LIBRARY_PATH is not a Linux thing at all, but a UNIX thing adopted 
by Linux.

On Jan 6, 2004, at 1:58 PM, Mike Kestner wrote:

> 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>
>
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>
>
-----------------------------------------------------------------
Seth Kurtzberg
CTO
ISEC Research and Network Operations Center
480-314-1540
888-879-5206
seth@isec.us
-----------------------------------------------------------------