Skip to content
Advertisement

yum check error when install package from source code

my server is centos 6.10, i install curl, libssh2, openssl, c-ares, python-urlgrabber from source code, and all these package run without any problems, but when i use camand yum check, i got error message: gnupg2-2.0.14-9.el6_10.x86_64 has missing requires of libcurl.so.4() rpm-4.8.0-59.el6.x86_64 has missing requires of curl yum-3.2.29-81.el6.centos.0.1.noarch has missing requires of python-urlgrabber >= (‘0’, ‘3.9.1’, ’10’)

i have already try update ldconfig with these lib package, it seems can’t find these package, but all these command run without problem, for example, if really missing python-urlgrabber, yum check and yum update will be not run, and if missing the curl i installed from package, the rpm command will not run too, how to resolve this problem?

JavaScript

Advertisement

Answer

rpm and hence yum can only resolve dependencies using rpm files. You seem to have installed curl manually (using make install or something like that).

If you want the dependencies on rpm level to work, you need to install curl-4 with an rpm.

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement