openssl - 安装ruby 报错

 依然yang梓枫东_811 发布于 2022-10-26 22:34

[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.

2 个回答
  • 用rvm或者rbenv吧.

    2022-10-27 01:40 回答
  • yum install --enablerepo=centosplus openssl-devel

    2022-10-27 01:40 回答
撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有