[fpc-devel] Unit libpcre2_16 not found

Adriaan van Os adriaan at adriaan.biz
Wed Jan 7 15:47:40 CET 2026


Trying to build fpc (git) trunk on macOS 14 for SUB_TARGET=unicodertl

[M2:~/fpc-svn/source/packages] administrator% make all FPC=/usr/local/lib/fpc/3.3.1/ppca64 
SUB_TARGET=unicodertl OPT=-dUSEWIDESTRING

which works for the rtl but fails for packages as follows

Compiling ./vcl-compat/src/system.diagnostics.pp
...
Compiling ./vcl-compat/src/system.regularexpressions.pp
Compiling ./vcl-compat/src/system.regularexpressionscore.pp
system.regularexpressionscore.pp(57,7) Fatal: Can't find unit libpcre2_16 used by 
System.RegularExpressionsCore
Fatal: Compilation aborted

The installer encountered the following error:
Compilation of "units/aarch64-darwin-unicodertl/BuildUnit_vcl_compat.pp" failed
   $0000000104D6C76C
   $0000000104D772A0
   $0000000104D762C4
   $0000000104D775CC
   $0000000104D7A908
   $0000000104D6B01C
   $0000000104D6B760
   $0000000104CB188C
   $0000000104CD9BEC
   $0000000104C30780
   $0000000104CB1838
   $0000000188937154
make: *** [all] Error 1


Any clues ?

Regards,

Adriaan van Os


More information about the fpc-devel mailing list