Rubygem 缺少no such file to load zlib 错误
2010-09-19 13:19
387 查看
在redhat 5.5上使用源代码安装了ruby和gem,当使用gem更新的时候却提示no such file to load zlib的错误。
下意识认为zlib的包没有安装好,重装了zlib和zlib-devel,google一下发现安装ruby 源码中的zlib可以解决这个问题。
下意识认为zlib的包没有安装好,重装了zlib和zlib-devel,google一下发现安装ruby 源码中的zlib可以解决这个问题。
cd ext/zlib ruby ./extconf.rb make make install
相关文章推荐
- Rubygem 缺少no such file to load zlib 错误
- CentOS下安装rails,遇到no such file to load -- zlib错误...
- ERROR: Loading command: search (LoadError) no such file to load -- zlib
- gem install 时报错,no such file to load -- zlib
- no such file to load — zlib (LoadError)
- no such file to load -- zlib when using gem install
- no such file to load -- zlib
- ROR no such file to load -- sqlite3 错误解决方法
- install rubyonrails( no such file to load -- zlib )
- Ruby on Rails安装过程中出现"no such file to load -- mkmf"错误的解决方法。
- require "watir"报装载库文件错误(no such file to load -- watir)
- no such file to load — mysql错误解决
- gem install 时报错,no such file to load -- zlib
- require "watir"报装载库文件错误(no such file to load -- watir)
- Rails错误:LoadError: no such file to load – openssl 解决办法
- Yii2访问出错错误信息:`Warning: require(/vendor/autoload.php): failed to open stream: No such file or dire
- 启动Redmine时遇到no such file to load -- mini_magick (MissingSourceFile)
- Failed to load libGL.so error libGL.so: cannot open shared object file: No such file or directory
- 解决CentOS7关闭/开启防火墙出现Unit iptables.service failed to load: No such file or directory.
- Failed to issue method call: Unit ssh.service failed to load: No such file or directory.