Opened 5 years ago

Closed 5 years ago

#58622 closed defect (fixed)

gobject-introspection: preventing libcairo-gobject.2.dylib load failure

Reported by: RJVB (René Bertin) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc:
Port: gobject-introspection

Description

This is fix for the

** (process:26290): WARNING **: 16:27:34.020: Failed to load shared library 'libcairo-gobject.2.dylib' referenced by the typelib: dlopen(libcairo-gobject.2.dylib, 9): image not found

error that can occur e.g. in python scripts that put up a GTk interface (cf. also https://github.com/Cimbali/pympress/issues/58 which allowed me to find the current fix).

Attachments (1)

patch-cairogir.diff (522 bytes) - added by RJVB (René Bertin) 5 years ago.
patch (requires a corresponding post-patch reinplace instruction)

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by RJVB (René Bertin)

Attachment: patch-cairogir.diff added

patch (requires a corresponding post-patch reinplace instruction)

comment:1 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: dbevans removed
Owner: set to dbevans
Status: newassigned

comment:2 Changed 5 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: assignedclosed

In 6e997db1ff671f2b85f474d48389b8feb0efc5c1/macports-ports (master):

gobject-introspection: fix configuration of CAIRO_SHARED_LIBRARY

Since we are now using autoreconf, patch configure.ac rather than
configure when resetting the install name of libcairo-gobject to its full installed path
in generated introspection files (.gir, .typelib).

This is necessary for the loader to find the shared library which is installed
in a non-standard location.

Fixes #58451
Closes #58622

Note: See TracTickets for help on using tickets.