adrianlopezroche / fdupes

FDUPES is a program for identifying or deleting duplicate files residing within specified directories.
2.43k stars 187 forks source link

configure: error: pcre2 library not found #112

Closed sebma closed 5 years ago

sebma commented 5 years ago

Hi,

I installed these packages on Ubuntu to build fdupes :

libpcre3-dev libpcre++-dev libpcre++0 libpcre++-dev libpcrecpp0

but still, it needs pcre2 library.

Can you help me ?

adrianlopezroche commented 5 years ago

I think those packages are for the original PCRE library. The name libpcre3-dev is misleading: as far as I know there is no version 3 of the PCRE library. You want Ubuntu packages pcre2-dev and pcre2-8-0. See here:

https://packages.ubuntu.com/search?suite=all&searchon=names&keywords=libpcre2

Ubuntu releases older than xenial (16.04LTS) do not include PCRE2, only the original PCRE, so if PCRE2 not available on your system you'll need to compile and install it yourself.