Hi,
I am attempting to build root from source using cmake. But I’m getting the following error. I’m not sure why the build is having trouble finding these libraries.
Thanks for any help you may be able to provide,
Dennis
[ 69%] Built target Meta
[ 69%] Built target TextInput
[ 69%] Built target Zip
[ 69%] Built target Lzma
[ 69%] Built target Unix
[ 69%] Built target gitcommit
[ 69%] Built target BaseTROOT
[ 69%] Built target Core
[ 69%] Built target G__Rint
[ 69%] Built target Rint
Scanning dependencies of target root.exe
[ 70%] Building CXX object main/CMakeFiles/root.exe.dir/src/rmain.cxx.o
[ 70%] Linking CXX executable …/bin/root.exe
/usr/bin/ld: warning: libpcre.so.1, needed by …/lib/libCore.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libpcreposix.so.0, needed by …/lib/libCore.so, not found (try using -rpath or -rpath-link)
…/lib/libCore.so: undefined reference to pcre_free' ../lib/libCore.so: undefined reference to
pcre_exec’
…/lib/libCore.so: undefined reference to pcre_compile' ../lib/libCore.so: undefined reference to
pcre_study’
collect2: error: ld returned 1 exit status
main/CMakeFiles/root.exe.dir/build.make:96: recipe for target ‘bin/root.exe’ failed
make[2]: *** [bin/root.exe] Error 1
CMakeFiles/Makefile2:23636: recipe for target ‘main/CMakeFiles/root.exe.dir/all’ failed
make[1]: *** [main/CMakeFiles/root.exe.dir/all] Error 2
Makefile:149: recipe for target ‘all’ failed