Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install iconv-devel on CentOS 5.6?

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?

like image 930
ohho Avatar asked May 26 '11 03:05

ohho


1 Answers

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
like image 161
dgo.a Avatar answered Nov 15 '22 10:11

dgo.a