install shibboleth sp:需要:libmemcached.so.2

时间:2018-02-01 15:28:06

标签: shibboleth libmemcached

我正在尝试安装shibboleth sp。我添加了存储库:

sudo curl -o /etc/yum.repos.d/security:shibboleth.repo  http://download.opensuse.org/repositories/security:/shibboleth/CentOS_7/security:shibboleth.repo

但是当我跑步时:

sudo yum install shibboleth.x86_64

我明白了:

Resolving Dependencies
--> Running transaction check
---> Package shibboleth.x86_64 0:2.6.1-3.1 will be installed
--> Processing Dependency: opensaml-schemas(x86-64) >= 2.6.0 for package: shibboleth-2.6.1-3.1.x86_64
--> Processing Dependency: libmemcached.so.2(libmemcached_2)(64bit) for package: shibboleth-2.6.1-3.1.x86_64
--> Processing Dependency: libxmltooling.so.7()(64bit) for package: shibboleth-2.6.1-3.1.x86_64
--> Processing Dependency: libxmltooling-lite.so.7()(64bit) for package: shibboleth-2.6.1-3.1.x86_64
--> Processing Dependency: libxml-security-c.so.17()(64bit) for package: shibboleth-2.6.1-3.1.x86_64
--> Processing Dependency: libxerces-c-3.1.so()(64bit) for package: shibboleth-2.6.1-3.1.x86_64
--> Processing Dependency: libsaml.so.9()(64bit) for package: shibboleth-2.6.1-3.1.x86_64
--> Processing Dependency: libodbc.so.2()(64bit) for package: shibboleth-2.6.1-3.1.x86_64
--> Running transaction check
---> Package libsaml9.x86_64 0:2.6.1-3.1 will be installed
---> Package libxml-security-c17.x86_64 0:1.7.3-3.3 will be installed
---> Package libxmltooling7.x86_64 0:1.6.3-3.1 will be installed
---> Package opensaml-schemas.x86_64 0:2.6.1-3.1 will be installed
---> Package shibboleth.x86_64 0:2.6.1-3.1 will be installed
--> Processing Dependency: libmemcached.so.2(libmemcached_2)(64bit) for package: shibboleth-2.6.1-3.1.x86_64
---> Package unixODBC.x86_64 0:2.3.1-11.el7 will be installed
---> Package xerces-c.x86_64 0:3.1.1-8.el7_2 will be installed
--> Finished Dependency Resolution
Error: Package: shibboleth-2.6.1-3.1.x86_64 (security_shibboleth)
       Requires: libmemcached.so.2(libmemcached_2)(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

我尝试了很多方法来安装这个lib,但是没有用。 我的SO是CentOS 7。

1 个答案:

答案 0 :(得分:0)

Hello亲爱的,我在安装Catania Science Gateway时面临同样的问题,并使用以下步骤解决此问题

1) cd /etc/yum.repos.d
2) rm -f *Shibboleth* 
3) sudo curl -o /etc/yum.repos.d/shibboleth.repo http://download.opensuse.org/repositories/security://shibboleth/CentOS_7/security:shibboleth.repo
4) yum clean all
5) rm -rf /var/cache/yum 
6) yum update
7) yum install shibboleth
8) systemctl start shibd.service