[Gtk-sharp-list] DllImport on *.so files

Mike Kestner mkestner@speakeasy.net
Tue, 19 Aug 2003 00:12:39 -0500


The mappings are hard coded into a file which is installed by mono.  It
would be nice if there were a tool to alter the config file at install
time.  On linux, I could just do an ldd libgtksharpglue.so and grep out
the versioned so names. Not sure about the portability of such an
approach, but it obviously doesn't need to be portable to win32 at
least.

On Mon, 2003-08-18 at 19:55, Dag Wieers wrote:

> Eg. gtk-sharp requires gtkhtml3 and Red Hat only ships gtkhtml2 (and 
> building gtkhtml3 is a real mess as it requires a newer gtk2 etc etc...)

There are packages for gtkhtml3 available through red carpet's Evolution
channel or associated ftp directory.

> PS I didn't also know that there was a 1:1 mapping between a .dll and a 
> .so. I also don't seem to have any dllmap entries in my default 
> machine.config, is that the right file to look into ?

No, you want /etc/mono/config
 
-- 
Mike Kestner <mkestner@speakeasy.net>