./compilePG.sh not working

I have been following this guide https://openframeworks.cc/setup/linux-install/

The errors are for each libPoco .a files.

/usr/bin/ld.gold: error: 
/home/m/of_v0.10.0_linux64gcc5_release/addons/ofxPoco/libs/poco/lib/linux64/libPocoXML.a(Element.o): requires dynamic R_X86_64_32 reloc which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /home/m/of_v0.10.0_linux64gcc5_release/addons/ofxPoco/libs/poco/lib/linux64/libPocoXML.a(ElementsByTagNameList.o): requires dynamic R_X86_64_PC32 reloc against '_Znwm' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /home/m/of_v0.10.0_linux64gcc5_release/addons/ofxPoco/libs/poco/lib/linux64/libPocoFoundation.a(FileStreamFactory.o): requires unsupported dynamic reloc 11; recompile with -fPIC
There has been a problem compiling the command line projectGenerator.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.1 LTS
Release:	20.04
Codename:	focal

Hey @w9c

Could you try the nightly build and still see if you get that issue?
https://openframeworks.cc/ci_server/versions/nightly/of_v20210113_linux64gcc6_nightly.tar.gz

Out of curiosity also would version of gcc/g++ are you on?
g++ -v

Theo