在 Mac OS X 10.6 上安装 FreeImage 后出现的 rake 问题

发布于 2024-09-01 08:02:59 字数 550 浏览 1 评论 0原文

我正在尝试在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

停滞 2024-09-08 08:02:59

一时兴起,我最终删除了主文件夹中的 .ruby_inline 目录,从而解决了问题。

On a whim, I ended up removing the .ruby_inline directory in my home folder and that resolved the issue.

寂寞美少年 2024-09-08 08:02:59

删除 .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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文