[Gtk-sharp-list] Fixing dllmaps

Chris Ridd chris.ridd@isode.com
Thu, 02 Dec 2004 16:48:49 +0000

On 23/11/04 7:16 pm, Chris Ridd <chris.ridd@isode.com> wrote:

> GTK# doesn't work nicely on OSes which don't have all the dependant GNOME
> libraries in the dynamic linker's search path.
> Since the locations of all these libraries is known when building GTK#, then
> it seems reasonable to me to ensure that GTK# uses the exact same library at
> runtime. (And this is probably good for security too.)
> I'm attaching a patch to gtk-sharp 1.0.4 which adds additional autoconf
> variables which get referenced in the various .dll.config.in files, and
> which get set from `pkg-config --variable=libdir libfoo`.
> I've only tested this patch on Mac OS X, but it will affect all platforms.
> As a result, without messing with environment variables I can run monodoc by
> just typing 'monodoc'. Similarly little GTK# test apps just run without any
> other messing. Surely this is the way things are meant to be.
> Is it useful to incorporate this patch? (I'll submit it to bugzilla if so.)

Has anyone had a chance to look at this yet?