[Mono-docs-list] running monodoc - Fedora Core 2

Jonathan Pryor jonpryor@vt.edu
Wed, 19 May 2004 06:55:34 -0400


The problem is because the library specified in gtkhtml-sharp.dll.config
doesn't exist on FC2.  FC2 has a later version.

Thus, edit the file:

	/usr/lib/mono/gac/gtkhtml-sharp/1.0.0.0__35e10195dab3c99f/gtkhtml-sharp.dll.config

Change the line:

	<dllmap dll="gtkhtml-3.0" target="libgtkhtml-3.0.so.2"/>

To:

	<dllmap dll="gtkhtml-3.0" target="libgtkhtml-3.0.so.4"/>

That is, change ".so.2" to ".so.4".

Alternatively, you could create a symlink from
/usr/lib/libgtkhtml-3.0.so.4 to /usr/lib/libgtkhtml-3.0.so.2.

Of course, I'm assuming that these versions are compatible (fingers
crossed), and you need to make sure that /usr/lib/libgtkhtml-3.0.so.4
exists; if not, you need to install the gtkhtml3 package.

 - Jon

On Wed, 2004-05-19 at 02:15, Chris Vickerson wrote:
> Hi there,  I've installed Fedora Core 2 and re-installed all the mono 
> stuff from the rpms and didn't get any errors but when I try and run 
> monodoc I get a show-stopper error.  I realize that by installing fc2 I 
> was taking this chance but if there is a simple solution (other than 
> waiting for the new rpms for fc2) I would love to get this running sooner.
> 
> Here is the error I get:
> 
> <snip>
> Unhandled Exception: System.DllNotFoundException: gtkhtml-3.0
> in <0x00053> (wrapper managed-to-native) Gtk.HTML:gtk_html_new ()
> in <0x00021> Gtk.HTML:.ctor ()
> in [0x001aa] (at 
> /home/duncan/conf/mono-conf/monodoc/BUILD/monodoc-0.15/browser/ 
> browser.cs:209) Monodoc.Browser:.ctor ()
> in [0x00120] (at 
> /home/duncan/conf/mono-conf/monodoc/BUILD/monodoc-0.15/browser/ 
> browser.cs:81) Monodoc.Driver:Main (string[])
> </snip>
> 
> I did search the list archives and google + google groups and didn't 
> turn much up.  One entry I found did mention a similar problem 
> (http://www.mail-archive.com/mono-list@lists.ximian.com/msg07339.html) 
> and the user was asked to confirm the existence of:
> 
> /usr/lib/libgtkhtml-3.0.so.4
> /usr/lib/libgtkhtml-3.0.so.4.0.0
> 
> which does exist for me as well.
> 
> Thanks in advance if you can provide some help.
> 
> Chris Vickerson
> 
> _______________________________________________
> Mono-docs-list maillist  -  Mono-docs-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-docs-list