https://bugzilla.novell.com/show_bug.cgi?id=371520
Summary: Bad <dllmap> for mono.cairo in OSX installer
Product: Mono: Class Libraries
Version: 1.9.0
Platform: Other
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Mono.Cairo
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
CC: [EMAIL PROTECTED]
Found By: ---
This file contains a bad <dllmap> for libcairo-2.dll:
/Library/Frameworks/Mono.framework/Versions/1.9/etc/mono/config
It currently has:
<dllmap dll="libcairo-2.dll" target="libcairo.so.2" os="!windows"/>
It should have:
<dllmap dll="libcairo-2.dll"
target="/Library/Frameworks/Mono.framework/Versions/1.9/lib/libcairo.2.dylib"
os="!windows"/>
The problem can be easily reproduced:
>>>import Cairo from Mono.Cairo
>>>Cairo.CairoAPI.Version
System.DllNotFoundException: libcairo.so.2
at (wrapper managed-to-native) Cairo.NativeMethods:cairo_version ()
at Cairo.CairoAPI.get_Version () [0x00000]
at Input6Module.Main (System.String[] argv) [0x00000]
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke
(object,object[])
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000]
Swapping out the <dllmap> fixes the problem.
Thanks very much.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs