[Mono-bugs] [Bug 53853][Maj] New - mono/config maps DLLs to .so library names, not SONAMEs

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 4 Feb 2004 05:16:12 -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 eb@zombie.inka.de.

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

--- shadow/53853	2004-02-04 05:16:12.000000000 -0500
+++ shadow/53853.tmp.10790	2004-02-04 05:16:12.000000000 -0500
@@ -0,0 +1,63 @@
+Bug#: 53853
+Product: Mono/Runtime
+Version: unspecified
+OS: 
+OS Details: Linux/Debian/Sid/i386
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: eb@zombie.inka.de               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mono/config maps DLLs to .so library names, not SONAMEs
+
+Hello,
+
+a gtk-sharp user reported this problem and it is very offensive:
+
+the file /etc/mono/config maps windows dlls like libgtk-win32-2.0-0.dll not
+to the correct SONAME libgtk-x11-2.0.so.0 but to the .so symlink which
+should be used by compilers only. Result: the .so symlink will probably NOT
+point to the correct library file if you install multiple incompatible
+versions of a library (with different SONAMEs, of course), resulting in
+compatibility problems at runtime. Further, the .so links are not provided
+by normal runtime library packages on our distribution, only by the -dev
+versions which are not needed to be installed for regular users.
+
+Proposed changes:
+
+--- config.orig 2004-02-04 11:06:31.000000000 +0100
++++ config      2004-02-04 11:06:36.000000000 +0100
+@@ -4,16 +4,16 @@
+         <dllmap dll="libxslt.dll" target="libxslt.so" />
+         <dllmap dll="libmySQL.dll" target="libmysqlclient.so" />
+         <dllmap dll="odbc32.dll" target="libodbc.so" />
+-        <dllmap dll="libglib-2.0-0.dll" target="libglib-2.0.so" />
+-        <dllmap dll="libgobject-2.0-0.dll" target="libgobject-2.0.so" />
+-        <dllmap dll="libgthread-2.0-0.dll" target="libgthread-2.0.so" />
+-        <dllmap dll="libpango-1.0-0.dll" target="libpango-1.0.so" />
+-        <dllmap dll="libatk-1.0-0.dll" target="libatk-1.0.so" />
+-        <dllmap dll="libgdk-win32-2.0-0.dll" target="libgdk-x11-2.0.so" />
+-        <dllmap dll="libgdk_pixbuf-2.0-0.dll" target="libgdk_pixbuf-2.0.so" />
+-        <dllmap dll="libgtk-win32-2.0-0.dll" target="libgtk-x11-2.0.so" />
+-        <dllmap dll="libgtk-win32-2.0-0.dll" target="libgtk-x11-2.0.so" />
+-        <dllmap dll="libglade-2.0-0.dll" target="libglade-2.0.so" />
++        <dllmap dll="libglib-2.0-0.dll" target="libglib-2.0.so.0 />
++        <dllmap dll="libgobject-2.0-0.dll" target="libgobject-2.0.so.0" />
++        <dllmap dll="libgthread-2.0-0.dll" target="libgthread-2.0.so.0" />
++        <dllmap dll="libpango-1.0-0.dll" target="libpango-1.0.so.0" />
++        <dllmap dll="libatk-1.0-0.dll" target="libatk-1.0.so.0" />
++        <dllmap dll="libgdk-win32-2.0-0.dll" target="libgdk-x11-2.0.so.0" />
++        <dllmap dll="libgdk_pixbuf-2.0-0.dll"
+target="libgdk_pixbuf-2.0.so.0" />
++        <dllmap dll="libgtk-win32-2.0-0.dll" target="libgtk-x11-2.0.so.0" />
++        <dllmap dll="libgtk-win32-2.0-0.dll" target="libgtk-x11-2.0.so.0" />
++        <dllmap dll="libglade-2.0-0.dll" target="libglade-2.0.so.0" />
+         <dllmap dll="oci" target="clntsh" />
+         <dllmap dll="gtkhtml-3.0" target="libgtkhtml-3.0.so.2" />
+         <dllmap dll="db2cli" target="libdb2_36.so"/>