有这个问题在我的mac上安装几个东西, 我觉得这个问题来自于将我的豹升级为雪豹。此外这个问题也与我认为的macports有关。/usr/local/lib/libz.1.dylib,文件是为i386建立的,而不是被链接的架构(x86_64)
/usr/local/lib/libz.1.dylib, file was built for i386 which is not the architecture being linked (x86_64)
任何想法?
更新
更具体发生这种情况上安装引入nokogiri宝石
和日志的样子:
xslt_stylesheet.c:127: warning: passing argument 1 of ‘Nokogiri_wrap_xml_document’ with different width due to prototype
cc -dynamic -bundle -undefined suppress -flat_namespace -o nokogiri.bundle
html_document.o html_element_description.o html_entity_lookup.o html_sax_parser_context.o nokogiri.o xml_attr.o xml_attribute_decl.o xml_cdata.o xml_comment.o xml_document.o xml_document_fragment.o xml_dtd.o xml_element_content.o xml_element_decl.o xml_encoding_handler.o xml_entity_decl.o xml_entity_reference.o xml_io.o xml_libxml2_hacks.o xml_namespace.o xml_node.o xml_node_set.o xml_processing_instruction.o xml_reader.o xml_relax_ng.o xml_sax_parser.o xml_sax_parser_context.o xml_sax_push_parser.o xml_schema.o xml_syntax_error.o xml_text.o xml_xpath_context.o xslt_stylesheet.o -L. -L/usr/local/lib -L/opt/local/lib -L/usr/local/lib -L/usr/lib -L. -lruby -lexslt -lxslt -lxml2 -lpthread -ldl -lobjc
ld: in /usr/local/lib/libz.1.dylib, file was built for i386 which is not the architecture being linked (x86_64)
collect2: ld returned 1 exit status
make: *** [nokogiri.bundle] Error 1
之前做过这个...更新我的帖子请看看 – dombesz 2010-09-13 14:17:48
哦,我的坏...我读/ opt/local而不是/ usr/local。我似乎在/ usr/local中有一个自定义的zlib。你有两个选择:1.找出为什么你需要一个自定义zlib与i386拱门,如果你不删除它。 2.尝试调整你的CFLAGS/LD_LIBRARY_PATH env以从编译器中隐藏/ usr/local – hellvinz 2010-09-13 14:47:48
我想我可以使用imagemagick可能使用的旧os(豹)。在步骤2你能提供信息怎么做吗?,谢谢 – dombesz 2010-09-13 14:56:10