1

当我尝试在 OSX 10.8 上的 ruby​​ 1.9.2 上安装 memcache (1.2.13) 时,我收到以下错误消息:

开头的部分错误消息:

An error occurred while installing memcache (1.2.13), and Bundler cannot continue.
Make sure that `gem install memcache -v '1.2.13'` succeeds before bundling.

最后:

ld: library not found for -lruby.1.9.1
collect2: ld returned 1 exit status
make: *** [native_server.bundle] Error 1

这似乎是同样的问题:安装 memcache gem 时出错,但没有答案 :-(

我希望信息足够,你们中的某个人可以帮助我。这个问题已经花费了我几天!

感谢您提供任何解决方案的想法!

4

1 回答 1

0

好的,我解决了问题(感谢 Justin Balthrop)!我将 memcache gem 版本降级为 1.3.0,现在一切正常!

还可以在这里观看:https ://bugs.launchpad.net/libmemcached/+bug/1216521

或者可以尝试不同的 memcache 客户端,例如:https ://bugs.launchpad.net/libmemcached/+bug/1216521

祝你好运!;-)

于 2013-11-13T09:45:16.363 回答