👎 error: /lib/x86_64-linux-gnu/libpcre.so.3: error adding symbols: DSO missing from command line

Hi,
I’m a beginner with Fritzing and I’m trying to compile it on my Ubuntu 20.04 LTS.
I have the following error:
:-1: error: /lib/x86_64-linux-gnu/libpcre.so.3: error adding symbols: DSO missing from command line

I compiled “libgit2” using the following commands:
cd libgit2
mkdir build
cd build
cmake -DBUILD_SHARED_LIBS=OFF …
cmake --build .

Some other details:
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: foca

qmake --version
QMake version 3.1
Using Qt version 5.12.8 in /usr/lib/x86_64-linux-gnu

Can someone help to me ?

thanks in advance

The easy solution would be to pay the 8 euro donation and download the precompiled version of Fritzing, compiling it is a lot of work! That said I haven’t ever seen an error building libgit2 on Linux. Ubuntu 18.04 lts was the last version I did so on though. This looks to be a problem in one of the system libraries rather than in libgit2. This article on stackoveflow seems to indicate it is a library order problem:

Peter