[Mono-bugs] [Bug 371520] New: Bad <dllmap> for mono.cairo in OSX installer

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Mar 15 17:46:18 EDT 2008


           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: mono-bugs at lists.ximian.com
        ReportedBy: eric at extremeboredom.net
         QAContact: mono-bugs at lists.ximian.com
                CC: gnorton at novell.com
          Found By: ---

This file contains a bad <dllmap> for libcairo-2.dll:


It currently has:

        <dllmap dll="libcairo-2.dll" target="libcairo.so.2" os="!windows"/>

It should have:

        <dllmap dll="libcairo-2.dll"

The problem can be easily reproduced:

>>>import Cairo from Mono.Cairo
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
  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.

More information about the mono-bugs mailing list