[Mono-bugs] [Bug 63130][Blo] Changed - P/Invoke fails to resolve platform specific prefixes and suffixes
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Fri, 17 Sep 2004 17:32:06 -0400 (EDT)
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 grompf@sublimeintervention.com.
http://bugzilla.ximian.com/show_bug.cgi?id=63130
--- shadow/63130 2004-09-07 19:24:10.000000000 -0400
+++ shadow/63130.tmp.7195 2004-09-17 17:32:06.000000000 -0400
@@ -110,6 +110,27 @@
------- Additional Comments From bmaurer@users.sf.net 2004-09-07 19:24 -------
The above code works fine using "glue" with both Mono-1.0/1.0.1 and .NET
1.1 on WinXP.
==> it does *not* work when using Mono on linux
+
+------- Additional Comments From grompf@sublimeintervention.com 2004-09-17 17:32 -------
+Running with Mono 1.0.1 on Debian:
+
+plasma@calvin:~$ MONO_LOG_LEVEL="debug" MONO_LOG_MASK="dll" mono glue.exe
+Mono-INFO: DllImport attempting to load: 'glue'.
+Mono-INFO: DllImport loading location: 'libglue.so'.
+P/Invoke call: 21293051914805257
+
+plasma@calvin:~$ ls -al /usr/local/lib/libglue.so*
+lrwxrwxrwx 1 plasma plasma 14 Sep 17 17:00 /usr/local/lib/libglue.so ->
+libglue.so.0.0
+lrwxrwxrwx 1 plasma plasma 14 Sep 17 17:00 /usr/local/lib/libglue.so.0 ->
+libglue.so.0.0
+-rwxr-xr-x 1 plasma plasma 5188 Sep 17 16:58 /usr/local/lib/libglue.so.0.0
+
+the only place I can find it not resolving a platform suffix is on OSX; but thats a bug in glib
+(G_MODULE_SUFFIX is set to .so instead of .dylib)
+
+-kangaroo
+