Ticket #587 (closed crash: fixed)
libcairo-gobject is broken
| Reported by: | camillo.lugaresi+xquartz@… | Owned by: | jeremyhu@… |
|---|---|---|---|
| Priority: | Blocker | Milestone: | 2.7.3 |
| Component: | x11-libs | Version: | 2.7.2 (xserver-1.12.2) |
| Keywords: | Cc: |
Description
XQuartz 2.7.2 ships with libcairo-gobject, but that library links to nonexistent libraries, so it's unusable.
$ otool -L /opt/X11/lib/libcairo-gobject.2.dylib ...
/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.7) /opt/local/lib/libgobject-2.0.0.dylib (compatibility version 3201.0.0, current version 3201.3.0) /opt/local/lib/libglib-2.0.0.dylib (compatibility version 3201.0.0, current version 3201.3.0) /opt/local/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.1.0)
...
Installing MacPorts is not an option.
Change History
comment:2 Changed 12 months ago by jeremyhu@…
- Priority changed from Not Set to Blocker
- Milestone set to 2.7.3
Thanks. The fix is to actually just not ship the gobject support. That snuck in because it found gobject on my system.
This ticket will track my adding logic to my build system to find issues like this before ship and to add --disable-glib (or whatever is appropriate) to cairo's configure args.
comment:4 Changed 12 months ago by camillo.lugaresi+xquartz@…
Thanks for the quick response. For applications that need it, is there a way to build cairo-gobject separately from the rest of cairo?

The description got messed up and I can't edit it. The list of libraries was: