[ubuntu-mono] [Bug 1008212] [NEW] x11 dllmap points to unversioned library
Julian Taylor
jtaylor.debian at googlemail.com
Sun Jun 3 20:14:00 UTC 2012
Public bug reported:
/etc/mono/config contains the dllmap for libX11 but it points to the .so
<dllmap dll="libX11" target="libX11.so" os="!windows" />
the .so is only included in libx11-dev.
it should point to the versioned .so.6 contained in libx116
TEST CASE:
compile this with dmcs:
$ cat libx11.cs
using System;
using System.Runtime.InteropServices;
class X11Test
{
[DllImport ("libX11")]
static extern void XAllPlanes ();
static void Main(string[] args)
{
XAllPlanes ();
}
}
$ dmcs libx11.cs
$ ./libx11.exe
Unhandled Exception: System.DllNotFoundException: libX11.so
at (wrapper managed-to-native) X11Test:XAllPlanes ()
at X11Test.Main (System.String[] args) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: libX11.so
at (wrapper managed-to-native) X11Test:XAllPlanes ()
at X11Test.Main (System.String[] args) [0x00000] in <filename unknown>:0
expected:
no backtrace
FIX: this is caused by the build not finding the multiarched library
it was fixed in -4:
[ Jo Shields ]
* [f77ef2f] Tweak build system to check multiarch library folder for
libX11.so.
** Affects: mono (Ubuntu)
Importance: Undecided
Status: Fix Released
** Changed in: mono (Ubuntu)
Status: New => Fix Released
** Description changed:
- /etc/mono/config contains the dllmap for libX11 but it points to the .so
- <dllmap dll="libX11" target="libX11.so" os="!windows" />
+ /etc/mono/config contains the dllmap for libX11 but it points to the .so
+ <dllmap dll="libX11" target="libX11.so" os="!windows" />
the .so is only included in libx11-dev.
it should point to the versioned .so.6 contained in libx116
TEST CASE:
compile this with dmcs:
$ cat libx11.cs
using System;
using System.Runtime.InteropServices;
class X11Test
{
- [DllImport ("libX11")]
- static extern void XAllPlanes ();
- static void Main(string[] args)
- {
- XAllPlanes ();
- }
+ [DllImport ("libX11")]
+ static extern void XAllPlanes ();
+ static void Main(string[] args)
+ {
+ XAllPlanes ();
+ }
}
- $ dmcs libx11.cs
- $ ./libx11.exe
+ $ dmcs libx11.cs
+ $ ./libx11.exe
Unhandled Exception: System.DllNotFoundException: libX11.so
- at (wrapper managed-to-native) X11Test:XAllPlanes ()
- at X11Test.Main (System.String[] args) [0x00000] in <filename unknown>:0
+ at (wrapper managed-to-native) X11Test:XAllPlanes ()
+ at X11Test.Main (System.String[] args) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: libX11.so
- at (wrapper managed-to-native) X11Test:XAllPlanes ()
- at X11Test.Main (System.String[] args) [0x00000] in <filename unknown>:0
+ at (wrapper managed-to-native) X11Test:XAllPlanes ()
+ at X11Test.Main (System.String[] args) [0x00000] in <filename unknown>:0
expected:
no backtrace
+
+ FIX: this is caused by the build not finding the multiarched library
+ it was fixed in -4:
+ [ Jo Shields ]
+ * [f77ef2f] Tweak build system to check multiarch library folder for
+ libX11.so.
--
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to mono in Ubuntu.
https://bugs.launchpad.net/bugs/1008212
Title:
x11 dllmap points to unversioned library
Status in “mono” package in Ubuntu:
Fix Released
Bug description:
/etc/mono/config contains the dllmap for libX11 but it points to the .so
<dllmap dll="libX11" target="libX11.so" os="!windows" />
the .so is only included in libx11-dev.
it should point to the versioned .so.6 contained in libx116
TEST CASE:
compile this with dmcs:
$ cat libx11.cs
using System;
using System.Runtime.InteropServices;
class X11Test
{
[DllImport ("libX11")]
static extern void XAllPlanes ();
static void Main(string[] args)
{
XAllPlanes ();
}
}
$ dmcs libx11.cs
$ ./libx11.exe
Unhandled Exception: System.DllNotFoundException: libX11.so
at (wrapper managed-to-native) X11Test:XAllPlanes ()
at X11Test.Main (System.String[] args) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: libX11.so
at (wrapper managed-to-native) X11Test:XAllPlanes ()
at X11Test.Main (System.String[] args) [0x00000] in <filename unknown>:0
expected:
no backtrace
FIX: this is caused by the build not finding the multiarched library
it was fixed in -4:
[ Jo Shields ]
* [f77ef2f] Tweak build system to check multiarch library folder for
libX11.so.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mono/+bug/1008212/+subscriptions
More information about the Ubuntu-mono
mailing list