在 Mac OS X 10.6 上安装 FreeImage 后出现的 rake 问题
我正在尝试在 Mac(运行 Mac OS X 10.6)上为我工作的 Rails 应用程序设置开发环境。它需要 FreeImage,现在我已经安装了它,我运行 rake db:migrate 并收到以下错误:
dyld: lazy symbol binding failed: Symbol not found: _FreeImage_SetOutputMessage
Referenced from: /Users/username/.ruby_inline/Inline_ImageScience_cdab.bundle
Expected in: flat namespace
dyld: Symbol not found: _FreeImage_SetOutputMessage
Referenced from: /Users/username/.ruby_inline/Inline_ImageScience_cdab.bundle
Expected in: flat namespace
Trace/BPT trap
我已尝试四处寻找该错误,但完全不知道该去哪里或尝试什么来解决这个问题。
I am trying to setup my dev environment on my Mac (running Mac OS X 10.6) for my work's rails application. It requires FreeImage and now that I have installed that, I run rake db:migrate and receive the following error:
dyld: lazy symbol binding failed: Symbol not found: _FreeImage_SetOutputMessage
Referenced from: /Users/username/.ruby_inline/Inline_ImageScience_cdab.bundle
Expected in: flat namespace
dyld: Symbol not found: _FreeImage_SetOutputMessage
Referenced from: /Users/username/.ruby_inline/Inline_ImageScience_cdab.bundle
Expected in: flat namespace
Trace/BPT trap
I have tried searching around for the error but am at a complete loss as to where to go or what to try in order to resolve this issue.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
一时兴起,我最终删除了主文件夹中的 .ruby_inline 目录,从而解决了问题。
On a whim, I ended up removing the .ruby_inline directory in my home folder and that resolved the issue.
删除 .ruby_inline 为我解决了同样的问题。在通过时间机器从 intel mac 迁移的 M2 mac 上。
Removing .ruby_inline solved the same issue for me. On an M2 mac that was migrated via time machine from an intel mac.