从 OS X 中删除了 MAMP,dyld 仍然使用 MAMP 库
当我尝试在 Ruby 应用程序上使用 populator 或 sphinx 时,我不断收到 dyld 错误。我曾经在 OS X Leopard 上使用 MAMP,但自从我升级到 Snow Leopard 并且现在使用独立的 MySQL(10.5 64 位)。
$ rake ts:index
会返回
dyld: Library not loaded: /Applications/MAMP/Library/lib/mysql/libmysqlclient.15.dylib
Referenced from: /usr/local/bin/indexer
Reason: image not found
rake aborted!
即使要删除 MAMP,我只是删除了 /Applications/MAMP 目录。但看起来 dylib 仍然引用了它。
我尝试过运行:
$ sudo update_dyld_shared_cache -verify
并重新启动,但问题仍然存在。
OS X 10.6.1、MySQL 5.0.85 (x86_64)
When I try and use a populator or sphinx on a Ruby app I keep receiving dyld errors. I used to use MAMP on OS X Leopard but since I've upgraded to Snow Leopard and am now using standalone MySQL (10.5 64-bit).
$ rake ts:index
Would return
dyld: Library not loaded: /Applications/MAMP/Library/lib/mysql/libmysqlclient.15.dylib
Referenced from: /usr/local/bin/indexer
Reason: image not found
rake aborted!
Even though to remove MAMP I just deleted the /Applications/MAMP directory. But it still looks like dylib has references to it.
I've tried running:
$ sudo update_dyld_shared_cache -verify
and restarting but the problem still persists.
OS X 10.6.1, MySQL 5.0.85 (x86_64)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
http://twitter.com/BouldrMatt 修复了它。
http://twitter.com/BouldrMatt fixed it.