两个包彼此需要,听说yum可以解决,不知道怎么弄? 错误如下: 安装devel时候 Missing Dependency: elfutils-libelf-devel-static-x86_64 = 0.137-3.el5 is needed by package elfutils-libelf-devel-0.137-3.el5.x86_64 (/elfutils-libelf-devel-0.137-3.el5.x86_64) 安装devel-static时候 Missing Dependency: elfutils-libelf-devel-x86_64 = 0.137-3.el5 is needed by package elfutils-libelf-devel-static-0.137-3.el5.x86_64 (/elfutils-libelf-devel-static-0.137-3.el5.x86_64
解答方法
方法1: rpm -ivh elfutils-libelf-devel-0.137-3.el5.x86_64.rmp elfutils-libelf-devel-static-0.137-3.el5.x86_64.rpm 如果还不能,请加--nodeps,,可以使用--nodeps参数安装,作用是忽略依赖关系,如果还不能装,请加--force
方法2:yum install elfutils-libelf-devel*