Error Building Cairo
Jeremy Lavergne
jeremy at lavergne.gotdns.org
Sun Apr 8 20:04:43 PDT 2012
> 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
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 --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 8796 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20120408/25bffe3a/attachment.bin>
More information about the macports-users
mailing list