[Mono-bugs] [Bug 55282][Min] New - Gtk# depends on -devel packages from Fedora Core

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 7 Mar 2004 23:48:56 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by umbrook0@cs.umanitoba.ca.

http://bugzilla.ximian.com/show_bug.cgi?id=55282

--- shadow/55282	2004-03-07 23:48:56.000000000 -0500
+++ shadow/55282.tmp.3165	2004-03-07 23:48:56.000000000 -0500
@@ -0,0 +1,54 @@
+Bug#: 55282
+Product: Mono: Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: umbrook0@cs.umanitoba.ca               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Gtk# depends on -devel packages from Fedora Core
+
+Description of Problem:
+/etc/mono/config redirects some DLL lookups to files that only exist if you
+install some -devel RPMs on Fedora Core.  (Such as libgtk-x11-2.0.so from
+gtk2-devel and libglade-2.0.so from libglade2-devel.)
+
+Steps to reproduce the problem:
+1. Take a fresh Fedora Core install (without devel packages).
+2. Try to run a Gtk# program.
+
+Actual Results:
+Get a System.DllNotFoundException (I don't have the actual exception handy).
+
+Expected Results:
+A Gtk# program works without requiring devel packages.
+
+How often does this happen? 
+Always.
+
+Additional Information:
+/usr/lib/libgtk-x11-2.0.so is installed by gtk2-devel not gtk2.  Similarly
+with /usr/lib/libglade-2.0.so and /usr/lib/libgnomeui-2.so.  Maybe others, too.
+
+I'm listing this as a Mono bug because it might just be a problem with
+/etc/mono/config.
+
+Short term, you could make the Gtk# RPMs require gtk2-devel and
+libglade2-devel, libgnomeui-devel, etc.  That way, people don't get this
+confusing error.
+
+Longer term, Gtk# should work without -devel packages installed.  Either
+/etc/mono/config needs to be more specific with its renaming (for example,
+libgtk2-x11-2.0.so.0 is part of the gtk2 RPM) or the Gtk+, Glade and Gnome
+packages need to include the unversioned so.
+
+I also have to wonder about some other entries in /etc/mono/config:
+libxslt.so, libmysqlclient.so, libodbc.so, etc.