php7.4.1 No package ‘libpcre2-8’ found,php-fpm7.4.1 libpcre2-8 >= 10.30

源码编译
295
linux
linux 举报
05月22日 10:13




<a href="https://www.qinziheng.com/php7/8892.htm">php7.4.1 No package ‘libpcre2-8’ found,php-fpm7.4.1 libpcre2-8 >= 10.30

in CentOS, install php7.4.1, some error like:

Package requirements (libpcre2-8 >= 10.30) were not met No package ‘libpcre2-8’ found

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

what shoud i do
wget https://ftp.pcre.org/pub/pcre/pcre2-10.34.tar.bz2
tar xjvf pcre2-10.34.tar.bz2
./configure --prefix=/usr/local/pcre2 \
--enable-pcre2-16 \
--enable-pcre2-32 \
--enable-jit \
--enable-jit-sealloc

make && make install

export PKG_CONFIG_PATH=/usr/local/pcre2/lib/pkgconfig/


倒序看帖 只看楼主
推广信息