[Mono-bugs] [Bug 75287][Cri] Changed - mono-shlib-cop does not work because sysconfigdir wasn't correctly set

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jun 16 17:06:06 EDT 2005


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 jonpryor at vt.edu.

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

--- shadow/75287	2005-06-16 16:58:46.000000000 -0400
+++ shadow/75287.tmp.2251	2005-06-16 17:06:06.000000000 -0400
@@ -32,6 +32,16 @@
 ------- Additional Comments From bmaurer at users.sf.net  2005-06-16 16:58 -------
 ...
 + ./configure --prefix=/usr --sysconfdir=/etc 
 ...
 
 So that's not it.
+
+------- Additional Comments From jonpryor at vt.edu  2005-06-16 17:06 -------
+The problem is that mono-shlib-cop tries to find
+$prefix/etc/mono/config based on the location of mscorlib.dll. 
+However, in the RPMs mscorlib.dll is under /usr/lib/mono/, while the
+config is in /etc/mono/config -- different logical prefixes.  Mea culpa.
+
+The workaround is to use the -p option:
+
+    mono-shlib-cop -p / ASSEMBLIES_TO_CHECK


More information about the mono-bugs mailing list