openssl - 安装ruby 报错
PHP中文网
PHP中文网 2017-04-22 08:56:06
0
2
732

[root@VM_82_249_centos ~]# rvm install 2.0.0
Searching for binary rubies, this might take some time.
Found remote file https://rvm.io/binaries/centos/6/x86_64/ruby-2.0.0-p481.tar.bz2
Checking requirements for centos.
Installing requirements for centos.
Updating system.
Installing required packages: openssl-devel, bison.........
Error running 'requirements_centos_libs_install openssl-devel bison',
showing last 15 lines of /usr/local/rvm/log/1408264655_ruby-2.0.0-p481/package_install_openssl-devel_bison.log
will work.

     3. You have duplicate versions of libselinux installed already.
        You can use "yum check" to get yum show these errors.

   ...you can also use --setopt=protected_multilib=false to remove
   this checking, however this is almost never the correct thing to
   do as something else is very likely to go wrong (often causing
   much more problems).

   Protected multilib versions: libselinux-2.0.94-5.3.el6_4.1.i686 != libselinux-2.0.94-5.3.0.1.el6.centos.plus.x86_64

You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
++ return 1
++ return 1
Requirements installation failed with status: 1.

PHP中文网
PHP中文网

认证0级讲师

全部回覆(2)
洪涛

yum install --enablerepo=centosplus openssl-devel

Peter_Zhu

用rvm或rbenv吧.

熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板
關於我們 免責聲明 Sitemap
PHP中文網:公益線上PHP培訓,幫助PHP學習者快速成長!