How to install iconv-devel on CentOS 5.6?

纵然是瞬间 提交于 2020-01-03 09:05:34

问题


After installing rvm on CentOS 5.6 and run rvm notes:

dependencies:
  # For RVM
  rvm: yum install -y bash curl git # NOTE: For git you need the EPEL repository enabled

  # For Ruby (MRI & Ree) you should install the following OS dependencies:
  ruby: yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel ;
        yum install -y make bzip2 ;
        yum install -y iconv-devel # NOTE: For centos 5.4 final iconv-devel might not be available :(

However iconv-devel cannot be found:

Setting up Install Process
No package iconv-devel available.
Nothing to do

How can I install it?


回答1:


You don't have to worry about it on CentOS 5.4+ (and some other Red Hat-based systems).

It's already provided in the glibc library:

  • http://www.kannel.org/pipermail/users/2008-August/005444.html
  • Error when trying to run gem install


来源:https://stackoverflow.com/questions/6133326/how-to-install-iconv-devel-on-centos-5-6

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!