Links against private Mono.Cairo lib; prevents apps from running

Bug #308619 reported by Jo Shields
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gtk-sharp2 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: gtk-sharp2

As part of the Mono 2.0 transition, GTK# had a dependency on libmono-cairo1.0-cil changed to libmono-cairo2.0-cil. Unfortunately, a pkg-config file for Mono.Cairo is only included in the former. As a result, the 2.12.7-1ubuntu1 package on Jaunty attempted to compile its own local private copy of Mono.Cairo, and links against it. This package is signed with a version key which differs from the system version - and as the private lib is not installed, all apps are unable to find the "missing" lib.

The attached 1ubuntu2 patch fixes this issue by forcing configure to build against the system version of Mono.Cairo 2.0 (in the absence of valid pkg-config data).

Revision history for this message
Jo Shields (directhex) wrote :
Revision history for this message
Steve Langasek (vorlon) wrote :

Sponsored, thanks!

 gtk-sharp2 (2.12.7-1ubuntu2) jaunty; urgency=low
 .
   * debian/rules:
     + Set MONO_CAIRO_LIBS=-r:Mono.Cairo to manually provide Mono.Cairo
       build information (instead of using the 1.0-only pkg-config entry)
     + Set MONO_CAIRO_CFLAGS to " " to fool configure into not asking
       pkg-config for mono-cairo.pc

Changed in gtk-sharp2:
status: New → Fix Released
Revision history for this message
Tommaso R. Donnarumma (tawmas) wrote :

Seems to fix all issues for me, thanks for reacting to this so quickly!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.