On Mon, May 30, 2022 at 05:27:10PM +0530, Shylaja P wrote:
> Hi,
> We used Apache* httpd-2.4.52* *with PCRE-8.44* in our project, Now I'm
> trying to upgrade my project with Apache* httpd-2.4.53*, but It is failing
> with pcre-config not found.
>
> - *Is it mandatory to use PCRE2 to upgrade to Apache httpd-2.4.53?*
No, but pcre is EOL.
> - *Is there any way to use PCRE-8.44 and upgrade to Apache
> Httpd-2.4.53? *
Yes. Tested on Arch Linux, AlmaLinux 9 and NetBSD 9.99.97:
% ./httpd -v
Server version: Apache/2.4.53 (Unix)
Server built: May 30 2022 15:00:48
% ldd ./httpd |grep pcre
libpcre.so.1 => /usr/lib/libpcre.so.1 (0x00007fd2ebec3000)
% pacman -Qo /usr/lib/libpcre.so.1
/usr/lib/libpcre.so.1 is owned by pcre 8.45-1
$ ./httpd -v
Server version: Apache/2.4.53 (Unix)
Server built: May 30 2022 15:16:38
$ ldd ./httpd |grep pcre
libpcre.so.1 => /lib64/libpcre.so.1 (0x00007fa488088000)
$ rpm -q --whatprovides /lib64/libpcre.so.1
pcre-8.44-3.el9.3.x86_64
$ ./httpd -v
Server version: Apache/2.4.53 (Unix)
Server built: May 30 2022 16:06:09
$ ldd ./httpd |grep pcre
-lpcre.1 => /usr/pkg/lib/libpcre.so.1
$ pkg_info -Fe /usr/pkg/lib/libpcre.so.1
pcre-8.45
So I assume your setup is broken or some packages (pcre-devel) are not
installed. Have you checked config.log?
--
Herbert
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]