Error Building Cairo

Jasper Frumau jasperfrumau at gmail.com
Sun Apr 8 20:28:19 PDT 2012


On Mon, Apr 9, 2012 at 10:04 AM, Jeremy Lavergne <jeremy at lavergne.gotdns.org
> wrote:

> > I tried again with debug on and I got:
> >
> > ld: warning: in /opt/local/lib/libgs.dylib, file was built for
> unsupported file format which is not the architecture being linked (i386)
> > Undefined symbols:
> >   "_spectre_render_context_set_page_size", referenced from:
> >       _ps_convert in any2ppm-any2ppm.o
> >   "_spectre_page_free", referenced from:
> >       _ps_convert in any2ppm-any2ppm.o
> >   "_spectre_document_status", referenced from:
> >       _ps_convert in any2ppm-any2ppm.o
> >   "_spectre_page_status", referenced from:
> >       _ps_convert in any2ppm-any2ppm.o
> >   "_spectre_status_to_string", referenced from:
> >       _ps_convert in any2ppm-any2ppm.o
> >       _ps_convert in any2ppm-any2ppm.o
> >   "_spectre_document_render", referenced from:
> >       _ps_convert in any2ppm-any2ppm.o
> >   "_spectre_page_render", referenced from:
> >       _ps_convert in any2ppm-any2ppm.o
> >   "_spectre_document_new", referenced from:
> >       _ps_convert in any2ppm-any2ppm.o
> >   "_spectre_render_context_free", referenced from:
> >       _ps_convert in any2ppm-any2ppm.o
> >   "_spectre_page_get_size", referenced from:
> >       _ps_convert in any2ppm-any2ppm.o
> >   "_spectre_document_free", referenced from:
> >       _ps_convert in any2ppm-any2ppm.o
> >       _ps_convert in any2ppm-any2ppm.o
> >       _ps_convert in any2ppm-any2ppm.o
> >   "_spectre_document_get_page_size", referenced from:
> >       _ps_convert in any2ppm-any2ppm.o
> >   "_spectre_document_get_page_by_label", referenced from:
> >       _ps_convert in any2ppm-any2ppm.o
> >   "_spectre_render_context_new", referenced from:
> >       _ps_convert in any2ppm-any2ppm.o
> >   "_spectre_document_load", referenced from:
> >       _ps_convert in any2ppm-any2ppm.o
> >
> > No idea yet, but perhaps a strange architecture issue?
>
> Looks like libspectre needs rebuilt. However, before you do it would be
> helpful to know what was installed that:
> port provides /opt/local/lib/libgs.dylib
>

$ port provides /opt/local/lib/libgs.dylib
/opt/local/lib/libgs.dylib is provided by: ghostscript

Ghostscript it is..

>
> It might be that cairo is pulling in something it doesn't declare as a
> dependency _and_ that libspectre isn't installing the correct architectures.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20120409/0611161d/attachment.html>


More information about the macports-users mailing list