我只是使用centos 6.4设置我的服务器,现在我想使用yum安装nginx,但我总是得到错误需要依赖。但我检查/ usr / lib64 /库是不是缺少。 我真的不明白如何解决这个问题。
这是我的nginx.repo
[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/centos/6/$basearch/
gpgcheck=0
enabled=1
这是yum install nginx的错误
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package nginx.x86_64 0:1.4.6-1.el6.ngx will be installed
--> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: nginx-1.4.6-1.el6.ngx.x86_64
--> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: nginx-1.4.6-1.el6.ngx.x86_64
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit) for package: nginx-1.4.6-1.el6.ngx.x86_64
--> Finished Dependency Resolution
Error: Package: nginx-1.4.6-1.el6.ngx.x86_64 (nginx)
Requires: libcrypto.so.10(libcrypto.so.10)(64bit)
Error: Package: nginx-1.4.6-1.el6.ngx.x86_64 (nginx)
Requires: libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit)
Error: Package: nginx-1.4.6-1.el6.ngx.x86_64 (nginx)
Requires: libssl.so.10(libssl.so.10)(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest