编译安装nginx提示 Requires: libpcre2-8.so.0()(64bit)

缺少pcre2软件包,yum安装解决

缺少pcre2的软件包,yum安装即可

#安装pcre2
yum install pcre2 -y

[root@paas1 ~]# yum -y install openssl-devel Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile extras | 3.8 kB 00:00:00 os | 4.3 kB 00:00:00 updates | 3.8 kB 00:00:00 Resolving Dependencies --> Running transaction check ---> Package openssl-devel.x86_64 1:1.0.2k-26.an7 will be installed --> Processing Dependency: openssl-libs(x86-64) = 1:1.0.2k-26.an7 for package: 1:openssl-devel-1.0.2k-26.an7.x86_64 --> Processing Dependency: krb5-devel(x86-64) for package: 1:openssl-devel-1.0.2k-26.an7.x86_64 --> Processing Dependency: zlib-devel(x86-64) for package: 1:openssl-devel-1.0.2k-26.an7.x86_64 --> Running transaction check ---> Package krb5-devel.x86_64 0:1.15.1-55.0.1.an7 will be installed --> Processing Dependency: krb5-libs(x86-64) = 1.15.1-55.0.1.an7 for package: krb5-devel-1.15.1-55.0.1.an7.x86_64 --> Processing Dependency: libkadm5(x86-64) = 1.15.1-55.0.1.an7 for package: krb5-devel-1.15.1-55.0.1.an7.x86_64 --> Processing Dependency: keyutils-libs-devel for package: krb5-devel-1.15.1-55.0.1.an7.x86_64 --> Processing Dependency: libcom_err-devel for package: krb5-devel-1.15.1-55.0.1.an7.x86_64 --> Processing Dependency: libselinux-devel for package: krb5-devel-1.15.1-55.0.1.an7.x86_64 --> Processing Dependency: libverto-devel for package: krb5-devel-1.15.1-55.0.1.an7.x86_64 ---> Package openssl.x86_64 0:3.3.1-1.el7.centos will be obsoleted --> Processing Dependency: libcrypto.so.3()(64bit) for package: openssh-9.8p1-1.el7.centos.x86_64 --> Processing Dependency: libcrypto.so.3()(64bit) for package: openssh-clients-9.8p1-1.el7.centos.x86_64 --> Processing Dependency: libcrypto.so.3()(64bit) for package: openssh-server-9.8p1-1.el7.centos.x86_64 --> Processing Dependency: libcrypto.so.3(OPENSSL_3.0.0)(64bit) for package: openssh-9.8p1-1.el7.centos.x86_64 --> Processing Dependency: libcrypto.so.3(OPENSSL_3.0.0)(64bit) for package: openssh-clients-9.8p1-1.el7.centos.x86_64 --> Processing Dependency: libcrypto.so.3(OPENSSL_3.0.0)(64bit) for package: openssh-server-9.8p1-1.el7.centos.x86_64 ---> Package openssl-libs.x86_64 1:1.0.2k-19.an7 will be updated ---> Package openssl-libs.x86_64 1:1.0.2k-26.an7 will be obsoleting ---> Package zlib-devel.x86_64 0:1.2.7-21.an7 will be installed --> Processing Dependency: zlib = 1.2.7-21.an7 for package: zlib-devel-1.2.7-21.an7.x86_64 --> Running transaction check ---> Package keyutils-libs-devel.x86_64 0:1.5.8-3.an7 will be installed ---> Package krb5-libs.x86_64 0:1.15.1-50.0.1.an7 will be updated ---> Package krb5-libs.x86_64 0:1.15.1-55.0.1.an7 will be an update ---> Package libcom_err-devel.x86_64 0:1.43.5-8.4.an7 will be installed --> Processing Dependency: libcom_err(x86-64) = 1.43.5-8.4.an7 for package: libcom_err-devel-1.43.5-8.4.an7.x86_64 ---> Package libkadm5.x86_64 0:1.15.1-55.0.1.an7 will be installed ---> Package libselinux-devel.x86_64 0:2.5-15.an7 will be installed --> Processing Dependency: libsepol-devel(x86-64) >= 2.5-10 for package: libselinux-devel-2.5-15.an7.x86_64 --> Processing Dependency: pkgconfig(libpcre) for package: libselinux-devel-2.5-15.an7.x86_64 --> Processing Dependency: pkgconfig(libsepol) for package: libselinux-devel-2.5-15.an7.x86_64 ---> Package libverto-devel.x86_64 0:0.2.5-4.an7 will be installed ---> Package openssl.x86_64 0:3.3.1-1.el7.centos will be obsoleted --> Processing Dependency: libcrypto.so.3()(64bit) for package: openssh-9.8p1-1.el7.centos.x86_64 --> Processing Dependency: libcrypto.so.3()(64bit) for package: openssh-clients-9.8p1-1.el7.centos.x86_64 --> Processing Dependency: libcrypto.so.3()(64bit) for package: openssh-server-9.8p1-1.el7.centos.x86_64 --> Processing Dependency: libcrypto.so.3(OPENSSL_3.0.0)(64bit) for package: openssh-9.8p1-1.el7.centos.x86_64 --> Processing Dependency: libcrypto.so.3(OPENSSL_3.0.0)(64bit) for package: openssh-clients-9.8p1-1.el7.centos.x86_64 --> Processing Dependency: libcrypto.so.3(OPENSSL_3.0.0)(64bit) for package: openssh-server-9.8p1-1.el7.centos.x86_64 ---> Package zlib.x86_64 0:1.2.7-18.an7 will be updated ---> Package zlib.x86_64 0:1.2.7-21.an7 will be an update --> Running transaction check ---> Package libcom_err.x86_64 0:1.43.5-8.3.an7 will be updated --> Processing Dependency: libcom_err(x86-64) = 1.43.5-8.3.an7 for package: e2fsprogs-1.43.5-8.3.an7.x86_64 --> Processing Dependency: libcom_err(x86-64) = 1.43.5-8.3.an7 for package: e2fsprogs-libs-1.43.5-8.3.an7.x86_64 --> Processing Dependency: libcom_err(x86-64) = 1.43.5-8.3.an7 for package: libss-1.43.5-8.3.an7.x86_64 ---> Package libcom_err.x86_64 0:1.43.5-8.4.an7 will be an update ---> Package libsepol-devel.x86_64 0:2.5-10.an7 will be installed ---> Package openssl.x86_64 0:3.3.1-1.el7.centos will be obsoleted --> Processing Dependency: libcrypto.so.3()(64bit) for package: openssh-9.8p1-1.el7.centos.x86_64 --> Processing Dependency: libcrypto.so.3()(64bit) for package: openssh-clients-9.8p1-1.el7.centos.x86_64 --> Processing Dependency: libcrypto.so.3()(64bit) for package: openssh-server-9.8p1-1.el7.centos.x86_64 --> Processing Dependency: libcrypto.so.3(OPENSSL_3.0.0)(64bit) for package: openssh-9.8p1-1.el7.centos.x86_64 --> Processing Dependency: libcrypto.so.3(OPENSSL_3.0.0)(64bit) for package: openssh-clients-9.8p1-1.el7.centos.x86_64 --> Processing Dependency: libcrypto.so.3(OPENSSL_3.0.0)(64bit) for package: openssh-server-9.8p1-1.el7.centos.x86_64 ---> Package pcre-devel.x86_64 0:8.32-17.an7 will be installed --> Running transaction check ---> Package e2fsprogs.x86_64 0:1.43.5-8.3.an7 will be updated ---> Package e2fsprogs.x86_64 0:1.43.5-8.4.an7 will be an update ---> Package e2fsprogs-libs.x86_64 0:1.43.5-8.3.an7 will be updated ---> Package e2fsprogs-libs.x86_64 0:1.43.5-8.4.an7 will be an update ---> Package libss.x86_64 0:1.43.5-8.3.an7 will be updated ---> Package libss.x86_64 0:1.43.5-8.4.an7 will be an update ---> Package openssl.x86_64 0:3.3.1-1.el7.centos will be obsoleted --> Processing Dependency: libcrypto.so.3()(64bit) for package: openssh-9.8p1-1.el7.centos.x86_64 --> Processing Dependency: libcrypto.so.3()(64bit) for package: openssh-clients-9.8p1-1.el7.centos.x86_64 --> Processing Dependency: libcrypto.so.3()(64bit) for package: openssh-server-9.8p1-1.el7.centos.x86_64 --> Processing Dependency: libcrypto.so.3(OPENSSL_3.0.0)(64bit) for package: openssh-9.8p1-1.el7.centos.x86_64 --> Processing Dependency: libcrypto.so.3(OPENSSL_3.0.0)(64bit) for package: openssh-clients-9.8p1-1.el7.centos.x86_64 --> Processing Dependency: libcrypto.so.3(OPENSSL_3.0.0)(64bit) for package: openssh-server-9.8p1-1.el7.centos.x86_64 --> Processing Dependency: /usr/bin/openssl for package: authconfig-6.2.8-30.an7.x86_64 --> Restarting Dependency Resolution with new changes. --> Running transaction check ---> Package openssl.x86_64 0:3.3.1-1.el7.centos will be obsoleted --> Processing Dependency: libcrypto.so.3()(64bit) for package: openssh-9.8p1-1.el7.centos.x86_64 --> Processing Dependency: libcrypto.so.3()(64bit) for package: openssh-clients-9.8p1-1.el7.centos.x86_64 --> Processing Dependency: libcrypto.so.3()(64bit) for package: openssh-server-9.8p1-1.el7.centos.x86_64 --> Processing Dependency: libcrypto.so.3(OPENSSL_3.0.0)(64bit) for package: openssh-9.8p1-1.el7.centos.x86_64 --> Processing Dependency: libcrypto.so.3(OPENSSL_3.0.0)(64bit) for package: openssh-clients-9.8p1-1.el7.centos.x86_64 --> Processing Dependency: libcrypto.so.3(OPENSSL_3.0.0)(64bit) for package: openssh-server-9.8p1-1.el7.centos.x86_64 ---> Package openssl.x86_64 0:3.3.1-1.el7.centos will be updated --> Processing Dependency: libcrypto.so.3()(64bit) for package: openssh-9.8p1-1.el7.centos.x86_64 --> Processing Dependency: libcrypto.so.3()(64bit) for package: openssh-clients-9.8p1-1.el7.centos.x86_64 --> Processing Dependency: libcrypto.so.3()(64bit) for package: openssh-server-9.8p1-1.el7.centos.x86_64 --> Processing Dependency: libcrypto.so.3(OPENSSL_3.0.0)(64bit) for package: openssh-9.8p1-1.el7.centos.x86_64 --> Processing Dependency: libcrypto.so.3(OPENSSL_3.0.0)(64bit) for package: openssh-clients-9.8p1-1.el7.centos.x86_64 --> Processing Dependency: libcrypto.so.3(OPENSSL_3.0.0)(64bit) for package: openssh-server-9.8p1-1.el7.centos.x86_64 ---> Package openssl.x86_64 1:1.0.2k-26.an7 will be an update --> Finished Dependency Resolution Error: Package: openssh-server-9.8p1-1.el7.centos.x86_64 (@/openssh-server-9.8p1-1.el7.centos.x86_64) Requires: libcrypto.so.3()(64bit) Removing: openssl-3.3.1-1.el7.centos.x86_64 (installed) libcrypto.so.3()(64bit) Obsoleted By: 1:openssl-libs-1.0.2k-26.an7.x86_64 (updates) ~libcrypto.so.10()(64bit) Updated By: 1:openssl-1.0.2k-26.an7.x86_64 (updates) Not found Error: Package: openssh-clients-9.8p1-1.el7.centos.x86_64 (@/openssh-clients-9.8p1-1.el7.centos.x86_64) Requires: libcrypto.so.3()(64bit) Removing: openssl-3.3.1-1.el7.centos.x86_64 (installed) libcrypto.so.3()(64bit) Obsoleted By: 1:openssl-libs-1.0.2k-26.an7.x86_64 (updates) ~libcrypto.so.10()(64bit) Error: Package: openssh-server-9.8p1-1.el7.centos.x86_64 (@/openssh-server-9.8p1-1.el7.centos.x86_64) Requires: libcrypto.so.3(OPENSSL_3.0.0)(64bit) Removing: openssl-3.3.1-1.el7.centos.x86_64 (installed) libcrypto.so.3(OPENSSL_3.0.0)(64bit) Obsoleted By: 1:openssl-libs-1.0.2k-26.an7.x86_64 (updates) ~libcrypto.so.10(OPENSSL_1.0.1)(64bit) ~libcrypto.so.10(OPENSSL_1.0.2)(64bit) Updated By: 1:openssl-1.0.2k-26.an7.x86_64 (updates) Not found Error: Package: openssh-clients-9.8p1-1.el7.centos.x86_64 (@/openssh-clients-9.8p1-1.el7.centos.x86_64) Requires: libcrypto.so.3(OPENSSL_3.0.0)(64bit) Removing: openssl-3.3.1-1.el7.centos.x86_64 (installed) libcrypto.so.3(OPENSSL_3.0.0)(64bit) Obsoleted By: 1:openssl-libs-1.0.2k-26.an7.x86_64 (updates) ~libcrypto.so.10(OPENSSL_1.0.1)(64bit) ~libcrypto.so.10(OPENSSL_1.0.2)(64bit) Error: Package: openssh-9.8p1-1.el7.centos.x86_64 (@/openssh-9.8p1-1.el7.centos.x86_64) Requires: libcrypto.so.3()(64bit) Removing: openssl-3.3.1-1.el7.centos.x86_64 (installed) libcrypto.so.3()(64bit) Obsoleted By: 1:openssl-libs-1.0.2k-26.an7.x86_64 (updates) ~libcrypto.so.10()(64bit) Updated By: 1:openssl-1.0.2k-26.an7.x86_64 (updates) Not found Error: Package: openssh-9.8p1-1.el7.centos.x86_64 (@/openssh-9.8p1-1.el7.centos.x86_64) Requires: libcrypto.so.3(OPENSSL_3.0.0)(64bit) Removing: openssl-3.3.1-1.el7.centos.x86_64 (installed) libcrypto.so.3(OPENSSL_3.0.0)(64bit) Obsoleted By: 1:openssl-libs-1.0.2k-26.an7.x86_64 (updates) ~libcrypto.so.10(OPENSSL_1.0.1)(64bit) ~libcrypto.so.10(OPENSSL_1.0.2)(64bit) Updated By: 1:openssl-1.0.2k-26.an7.x86_64 (updates) Not found Error: Package: openssh-clients-9.8p1-1.el7.centos.x86_64 (@/openssh-clients-9.8p1-1.el7.centos.x86_64) Requires: libcrypto.so.3(OPENSSL_3.0.0)(64bit) Removing: openssl-3.3.1-1.el7.centos.x86_64 (installed) libcrypto.so.3(OPENSSL_3.0.0)(64bit) Obsoleted By: 1:openssl-libs-1.0.2k-26.an7.x86_64 (updates) ~libcrypto.so.10(OPENSSL_1.0.1)(64bit) ~libcrypto.so.10(OPENSSL_1.0.2)(64bit) Updated By: 1:openssl-1.0.2k-26.an7.x86_64 (updates) Not found Error: Package: openssh-clients-9.8p1-1.el7.centos.x86_64 (@/openssh-clients-9.8p1-1.el7.centos.x86_64) Requires: libcrypto.so.3()(64bit) Removing: openssl-3.3.1-1.el7.centos.x86_64 (installed) libcrypto.so.3()(64bit) Obsoleted By: 1:openssl-libs-1.0.2k-26.an7.x86_64 (updates) ~libcrypto.so.10()(64bit) Updated By: 1:openssl-1.0.2k-26.an7.x86_64 (updates) Not found Error: Package: openssh-server-9.8p1-1.el7.centos.x86_64 (@/openssh-server-9.8p1-1.el7.centos.x86_64) Requires: libcrypto.so.3()(64bit) Removing: openssl-3.3.1-1.el7.centos.x86_64 (installed) libcrypto.so.3()(64bit) Obsoleted By: 1:openssl-libs-1.0.2k-26.an7.x86_64 (updates) ~libcrypto.so.10()(64bit) Error: Package: openssh-9.8p1-1.el7.centos.x86_64 (@/openssh-9.8p1-1.el7.centos.x86_64) Requires: libcrypto.so.3()(64bit) Removing: openssl-3.3.1-1.el7.centos.x86_64 (installed) libcrypto.so.3()(64bit) Obsoleted By: 1:openssl-libs-1.0.2k-26.an7.x86_64 (updates) ~libcrypto.so.10()(64bit) Error: Package: openssh-9.8p1-1.el7.centos.x86_64 (@/openssh-9.8p1-1.el7.centos.x86_64) Requires: libcrypto.so.3(OPENSSL_3.0.0)(64bit) Removing: openssl-3.3.1-1.el7.centos.x86_64 (installed) libcrypto.so.3(OPENSSL_3.0.0)(64bit) Obsoleted By: 1:openssl-libs-1.0.2k-26.an7.x86_64 (updates) ~libcrypto.so.10(OPENSSL_1.0.1)(64bit) ~libcrypto.so.10(OPENSSL_1.0.2)(64bit) Error: Package: openssh-server-9.8p1-1.el7.centos.x86_64 (@/openssh-server-9.8p1-1.el7.centos.x86_64) Requires: libcrypto.so.3(OPENSSL_3.0.0)(64bit) Removing: openssl-3.3.1-1.el7.centos.x86_64 (installed) libcrypto.so.3(OPENSSL_3.0.0)(64bit) Obsoleted By: 1:openssl-libs-1.0.2k-26.an7.x86_64 (updates) ~libcrypto.so.10(OPENSSL_1.0.1)(64bit) ~libcrypto.so.10(OPENSSL_1.0.2)(64bit) You could try using --skip-broken to work around the problem ** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows: openssl-3.3.1-1.el7.centos.x86_64 has missing requires of perl(WWW::Curl::Easy) [root@paas1 ~]# centos想要安装openssl-devel,出现了这个报错怎么解决
最新发布
10-25
编译ngin报错[root@oracle19c nginx-1.28.0]# ./configure checking for OS + Linux 3.10.0-1160.71.1.el7.x86_64 x86_64 checking for C compiler ... found + using GNU C compiler + gcc version: 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) checking for gcc -pipe switch ... found checking for -Wl,-E switch ... found checking for gcc builtin atomic operations ... found checking for C99 variadic macros ... found checking for gcc variadic macros ... found checking for gcc builtin 64 bit byteswap ... found checking for unistd.h ... found checking for inttypes.h ... found checking for limits.h ... found checking for sys/filio.h ... not found checking for sys/param.h ... found checking for sys/mount.h ... found checking for sys/statvfs.h ... found checking for crypt.h ... found checking for Linux specific features checking for epoll ... found checking for EPOLLRDHUP ... found checking for EPOLLEXCLUSIVE ... not found checking for eventfd() ... found checking for O_PATH ... found checking for sendfile() ... found checking for sendfile64() ... found checking for sys/prctl.h ... found checking for prctl(PR_SET_DUMPABLE) ... found checking for prctl(PR_SET_KEEPCAPS) ... found checking for capabilities ... found checking for crypt_r() ... found checking for sys/vfs.h ... found checking for BPF sockhash ... not found checking for SO_COOKIE ... not found checking for UDP_SEGMENT ... not found checking for nobody group ... found checking for poll() ... found checking for /dev/poll ... not found checking for kqueue ... not found checking for crypt() ... not found checking for crypt() in libcrypt ... found checking for F_READAHEAD ... not found checking for posix_fadvise() ... found checking for O_DIRECT ... found checking for F_NOCACHE ... not found checking for directio() ... not found checking for statfs() ... found checking for statvfs() ... found checking for dlopen() ... not found checking for dlopen() in libdl ... found checking for sched_yield() ... found checking for sched_setaffinity() ... found checking for SO_SETFIB ... not found checking for SO_REUSEPORT ... found checking for SO_ACCEPTFILTER ... not found checking for SO_BINDANY ... not found checking for IP_TRANSPARENT ... found checking for IP_BINDANY ... not found checking for IP_BIND_ADDRESS_NO_PORT ... found checking for IP_RECVDSTADDR ... not found checking for IP_SENDSRCADDR ... not found checking for IP_PKTINFO ... found checking for IPV6_RECVPKTINFO ... found checking for IP_MTU_DISCOVER ... found checking for IPV6_MTU_DISCOVER ... found checking for IP_DONTFRAG ... not found checking for IPV6_DONTFRAG ... not found checking for TCP_DEFER_ACCEPT ... found checking for TCP_KEEPIDLE ... found checking for TCP_FASTOPEN ... found checking for TCP_INFO ... found checking for accept4() ... found checking for int size ... 4 bytes checking for long size ... 8 bytes checking for long long size ... 8 bytes checking for void * size ... 8 bytes checking for uint32_t ... found checking for uint64_t ... found checking for sig_atomic_t ... found checking for sig_atomic_t size ... 4 bytes checking for socklen_t ... found checking for in_addr_t ... found checking for in_port_t ... found checking for rlim_t ... found checking for uintptr_t ... uintptr_t found checking for system byte ordering ... little endian checking for size_t size ... 8 bytes checking for off_t size ... 8 bytes checking for time_t size ... 8 bytes checking for AF_INET6 ... found checking for setproctitle() ... not found checking for pread() ... found checking for pwrite() ... found checking for pwritev() ... found checking for strerrordesc_np() ... not found checking for sys_nerr ... found checking for localtime_r() ... found checking for clock_gettime(CLOCK_MONOTONIC) ... found checking for posix_memalign() ... found checking for memalign() ... found checking for mmap(MAP_ANON|MAP_SHARED) ... found checking for mmap("/dev/zero", MAP_SHARED) ... found checking for System V shared memory ... found checking for POSIX semaphores ... not found checking for POSIX semaphores in libpthread ... found checking for struct msghdr.msg_control ... found checking for ioctl(FIONBIO) ... found checking for ioctl(FIONREAD) ... found checking for struct tm.tm_gmtoff ... found checking for struct dirent.d_namlen ... not found checking for struct dirent.d_type ... found checking for sysconf(_SC_NPROCESSORS_ONLN) ... found checking for sysconf(_SC_LEVEL1_DCACHE_LINESIZE) ... found checking for openat(), fstatat() ... found checking for getaddrinfo() ... found checking for PCRE2 library ... not found checking for PCRE library ... not found checking for PCRE library in /usr/local/ ... not found checking for PCRE library in /usr/include/pcre/ ... not found checking for PCRE library in /usr/pkg/ ... not found checking for PCRE library in /opt/local/ ... not found checking for PCRE library in /opt/homebrew/ ... not found ./configure: error: the HTTP rewrite module requires the PCRE library. You can either disable the module by using --without-http_rewrite_module option, or install the PCRE library into the system, or build the PCRE library statically from the source with nginx by using --with-pcre=<path> option.
06-13
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值