ROOT 6.26.06
Ubuntu 22.04
CMAKE 3.22.1
gcc 11.2.0
I downloaded the ROOT source code from CERN website and followed the default instructions to compile it. I didn’t change any compilation flags. Here is the error I got:
/usr/bin/ld: …/…/FREETYPE-prefix/src/FREETYPE/objs/.libs/libfreetype.a(sfnt.o): in function sfnt_init_face': sfnt.c:(.text+0x1173a): undefined reference to
BrotliDecoderDecompress’
[ 67%] Built target LLVMInstCombine
collect2: error: ld returned 1 exit status
make[2]: *** [graf3d/ftgl/CMakeFiles/FTGL.dir/build.make:439: lib/libFTGL.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:31009: graf3d/ftgl/CMakeFiles/FTGL.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs…
Please help.
Thanks.