Centos6.8 install root

I have meet an error when install root on the centos6.8

command:
cmake root_dir

log:
CMake Warning at cmake/modules/RootNewMacros.cmake:431 (add_library):
Cannot generate a safe runtime search path for target Core because files in
some directories may conflict with libraries in implicit directories:

runtime library [libpcre.so.0] in /usr/lib64 may be hidden by files in:
  /datapool/soft/install/lib
runtime library [libpcreposix.so.0] in /usr/lib64 may be hidden by files in:
  /datapool/soft/install/lib
runtime library [libz.so.1] in /usr/lib64 may be hidden by files in:
  /datapool/soft/install/lib

Some of these libraries may not be found correctly.
Call Stack (most recent call first):
core/CMakeLists.txt:101 (ROOT_LINKER_LIBRARY)

CMake Warning at cmake/modules/RootNewMacros.cmake:649 (add_executable):
Cannot generate a safe runtime search path for target rootcling because
files in some directories may conflict with libraries in implicit
directories:

runtime library [libpcre.so.0] in /usr/lib64 may be hidden by files in:
  /datapool/soft/install/lib
runtime library [libpcreposix.so.0] in /usr/lib64 may be hidden by files in:
  /datapool/soft/install/lib
runtime library [libz.so.1] in /usr/lib64 may be hidden by files in:
  /datapool/soft/install/lib

Some of these libraries may not be found correctly.
Call Stack (most recent call first):
core/utils/CMakeLists.txt:16 (ROOT_EXECUTABLE)

I don’t know how to solve this probem.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.