Dependencies 正在尝试为PCRE-8.31生成RPM

Dependencies 正在尝试为PCRE-8.31生成RPM,dependencies,centos,rpm,updates,yum,Dependencies,Centos,Rpm,Updates,Yum,我正在尝试进行RPM,以便在CentOS 6.3机器上安装PCRE-8.31。你可以看到我的规范文件。尽管符合所有要求(据我所知),但在尝试安装软件包时,我还是遇到了以下错误。我将libpcre.so.0的符号链接放置在正确的位置,那么我做错了什么 pcre.spec 装置 CentOS 6提供的7.x版PCRE包含SO版本为0的共享库(libpcre.SO.0)。 它与您尝试构建的PCRE8.1包libpcre.so.1不同 即使您强制安装软件包,显示为依赖项的软件也很可能无法正常工作 如果定

我正在尝试进行RPM,以便在CentOS 6.3机器上安装PCRE-8.31。你可以看到我的规范文件。尽管符合所有要求(据我所知),但在尝试安装软件包时,我还是遇到了以下错误。我将libpcre.so.0的符号链接放置在正确的位置,那么我做错了什么

pcre.spec 装置
CentOS 6提供的7.x版PCRE包含SO版本为0的共享库(libpcre.SO.0)。 它与您尝试构建的PCRE8.1包libpcre.so.1不同

即使您强制安装软件包,显示为依赖项的软件也很可能无法正常工作

如果定制的PCRE被限制用于特定目的,则需要更改其包名 不要与原始名称冲突,并将其安装在与原始名称不同的目录中

%define _prefix /usr/local

您可能希望粘贴rpmbuild的输出,尤其是在它确定requires/provides时。
# yum install pcre-8.31-1.el6.x86_64.rpm
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Setting up Install Process
Examining pcre-8.31-1.el6.x86_64.rpm: pcre-8.31-1.el6.x86_64
Marking pcre-8.31-1.el6.x86_64.rpm as an update to pcre-7.8-4.el6.x86_64
Resolving Dependencies
--> Running transaction check
---> Package pcre.x86_64 0:7.8-4.el6 will be updated
--> Processing Dependency: libpcre.so.0()(64bit) for package: 1:libguestfs-1.16.19-1.el6.x86_64
--> Processing Dependency: libpcre.so.0()(64bit) for package: 6:kdelibs-4.3.4-14.el6.x86_64
--> Processing Dependency: libpcre.so.0()(64bit) for package: httpd-2.2.15-15.el6.centos.1.x86_64
--> Processing Dependency: libpcre.so.0()(64bit) for package: sssd-1.8.0-32.el6.x86_64
--> Processing Dependency: libpcre.so.0()(64bit) for package: grep-2.6.3-3.el6.x86_64
--> Processing Dependency: libpcre.so.0()(64bit) for package: kdelibs3-3.5.10-24.el6_1.1.x86_64
--> Processing Dependency: libpcre.so.0()(64bit) for package: gnote-0.6.3-3.el6.x86_64
--> Processing Dependency: libpcre.so.0()(64bit) for package: less-436-10.el6.x86_64
--> Processing Dependency: libpcre.so.0()(64bit) for package: httpd-tools-2.2.15-15.el6.centos.1.x86_64
---> Package pcre.x86_64 0:8.31-1.el6 will be an update
--> Finished Dependency Resolution
Error: Package: 1:libguestfs-1.16.19-1.el6.x86_64 (@c6-media)
           Requires: libpcre.so.0()(64bit)
           Removing: pcre-7.8-4.el6.x86_64 (@anaconda-CentOS-201207061011.x86_64/6.3)
               libpcre.so.0()(64bit)
           Updated By: pcre-8.31-1.el6.x86_64 (/pcre-8.31-1.el6.x86_64)
               Not found
Error: Package: httpd-2.2.15-15.el6.centos.1.x86_64 (@anaconda-CentOS-201207061011.x86_64/6.3)
           Requires: libpcre.so.0()(64bit)
           Removing: pcre-7.8-4.el6.x86_64 (@anaconda-CentOS-201207061011.x86_64/6.3)
               libpcre.so.0()(64bit)
           Updated By: pcre-8.31-1.el6.x86_64 (/pcre-8.31-1.el6.x86_64)
               Not found
Error: Package: gnote-0.6.3-3.el6.x86_64 (@anaconda-CentOS-201207061011.x86_64/6.3)
           Requires: libpcre.so.0()(64bit)
           Removing: pcre-7.8-4.el6.x86_64 (@anaconda-CentOS-201207061011.x86_64/6.3)
               libpcre.so.0()(64bit)
           Updated By: pcre-8.31-1.el6.x86_64 (/pcre-8.31-1.el6.x86_64)
               Not found
Error: Package: 6:kdelibs-4.3.4-14.el6.x86_64 (@c6-media)
           Requires: libpcre.so.0()(64bit)
           Removing: pcre-7.8-4.el6.x86_64 (@anaconda-CentOS-201207061011.x86_64/6.3)
               libpcre.so.0()(64bit)
           Updated By: pcre-8.31-1.el6.x86_64 (/pcre-8.31-1.el6.x86_64)
               Not found
Error: Package: grep-2.6.3-3.el6.x86_64 (@anaconda-CentOS-201207061011.x86_64/6.3)
           Requires: libpcre.so.0()(64bit)
           Removing: pcre-7.8-4.el6.x86_64 (@anaconda-CentOS-201207061011.x86_64/6.3)
               libpcre.so.0()(64bit)
           Updated By: pcre-8.31-1.el6.x86_64 (/pcre-8.31-1.el6.x86_64)
               Not found
Error: Package: kdelibs3-3.5.10-24.el6_1.1.x86_64 (@c6-media)
           Requires: libpcre.so.0()(64bit)
           Removing: pcre-7.8-4.el6.x86_64 (@anaconda-CentOS-201207061011.x86_64/6.3)
               libpcre.so.0()(64bit)
           Updated By: pcre-8.31-1.el6.x86_64 (/pcre-8.31-1.el6.x86_64)
               Not found
Error: Package: httpd-tools-2.2.15-15.el6.centos.1.x86_64 (@anaconda-CentOS-201207061011.x86_64/6.3)
           Requires: libpcre.so.0()(64bit)
           Removing: pcre-7.8-4.el6.x86_64 (@anaconda-CentOS-201207061011.x86_64/6.3)
               libpcre.so.0()(64bit)
           Updated By: pcre-8.31-1.el6.x86_64 (/pcre-8.31-1.el6.x86_64)
               Not found
Error: Package: sssd-1.8.0-32.el6.x86_64 (@anaconda-CentOS-201207061011.x86_64/6.3)
           Requires: libpcre.so.0()(64bit)
           Removing: pcre-7.8-4.el6.x86_64 (@anaconda-CentOS-201207061011.x86_64/6.3)
               libpcre.so.0()(64bit)
           Updated By: pcre-8.31-1.el6.x86_64 (/pcre-8.31-1.el6.x86_64)
               Not found
Error: Package: less-436-10.el6.x86_64 (@anaconda-CentOS-201207061011.x86_64/6.3)
           Requires: libpcre.so.0()(64bit)
           Removing: pcre-7.8-4.el6.x86_64 (@anaconda-CentOS-201207061011.x86_64/6.3)
               libpcre.so.0()(64bit)
           Updated By: pcre-8.31-1.el6.x86_64 (/pcre-8.31-1.el6.x86_64)
               Not found
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
%define _prefix /usr/local