Haleema Khan
Haleema Khan

Reputation: 71

PCRE2 not found in Mac

I have installed pcre2 version 10.37 by downloading the tar file and doing

./configure
make
sudo make install

When I run

pcre2 --version

or

which pcre2

In the terminal, I get command not found.

I am building my project that needs "pcre2" to compile successfully but after running "make" in the project directory I get the following:


   ERROR!  pcre2 library not found, go get it
   from www.pcre.org. Or from packages:
   Debian/Ubuntu: apt install libpcre2-dev
   Fedora: dnf install pcre2-devel
   CentOS/RHEL: yum install pcre2-devel

make: *** [config.status] Error 1

I can find the following files in /usr/local/lib/

enter image description here

Upvotes: 0

Views: 873

Answers (0)

Related Questions