与 Virtual Box 版本相关的 zlib 库问题
在过去的几天里,我遇到了一个非常烦人的问题,现在刚刚解决,但我希望你们中的一些人经历过它并找到解决方案。
我在 Virtualbox 3.2.0 上创建并安装了 Ubuntu 10.04(在 Win7-32 位下安装)。在此虚拟机上安装并配置了 rvm、ruby 1.8.7 和一些 gem。当尝试检查为上述 rvm/ruby 条件安装的 gem 列表时,在 bash 上执行以下命令时,我处理以下错误:
$gem list 错误:加载命令:列表(LoadError)没有要加载的文件 - zlib
经过谷歌搜索并解决了几个想法: - 卸载/安装rvm - 卸载/安装红宝石 - 重新安装zlib - 创建新的虚拟机
,我们解决了该问题与我的系统 3.2.0 上使用的 Virtualbox 版本有关的问题。安装最新版本的 Virtualbox - v.3.2.8 后,与 zlib 库
相关的问题得到解决。
干杯。 只为与大家分享 .stuckme
on the last days I had a really annoying problem, that is just now solved, but I'll hope that some of you experienced it and figured out a solution for that.
I created and installed Ubuntu 10.04 on Virtualbox 3.2.0 (installed under Win7-32 bits). On this VM was installed and configured rvm, ruby 1.8.7 and some gems. When tried to check the list of gems that were installed for the rvm/ruby conditions above, i deal with the following error when execute the following command on the bash:
$gem list
ERROR: Loading command: list (LoadError) no such file to load -- zlib
After googling and solutioning several ideas:
- uninstall/install rvm
- uninstall/install ruby
- reinstall zlib
- create new Vm's
, we brought to an end that the problem was related with the version of Virtualbox used on my system 3.2.0. After install the last version of Virtualbox - v.3.2.8 the problem related with the zlib library
was solved.
Cheers.
Just to share with you
.stuckme
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不认为这是 VirtualBox 的问题。这与 RVM 安装有关。我使用与您相同的配置,并通过此解决方案解决了问题。
RVM Ruby 1.9.1 安装无法找到 zlib,但它的运行时和开发库在那里< /a>
I don't think this is a VirtualBox problem. This is to do with RVM installation. I am using same configuration as yours and got issues resolved with this solution.
RVM Ruby 1.9.1 install can't locate zlib but its runtime and dev library are there