我安装了Snow Leopard,经过几次重新安装后,情况一直很好。但是现在当我去运行黄瓜时,我发现下面的错误,并且我无法通过Google搜索找到任何确凿的结果。有没有人遇到过这种情况,或者可能有一些故障排除步骤来尝试?如何让雪豹和黄瓜在雪豹上玩得很好?
$ cucumber features
dyld: NSLinkModule() error
dyld: Library not loaded: /opt/local/lib/libfreetype.6.dylib
Referenced from: /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.10.0/lib/RMagick2.bundle
Reason: no suitable image found. Did find:
/opt/local/lib/libfreetype.6.dylib: can't map
/usr/local/lib/libfreetype.6.dylib: mach-o, but wrong architecture
Trace/BPT trap
这可能只是另一个32/64位的问题(“错误的体系结构”),至少如果“file /opt/local/lib/libfreetype.6.dylib”的输出不是非凡的。重新编译你的二进制文件,并确保它们与正在运行的内核相匹配。 – cite 2009-09-20 12:22:49