Failed to build ROOT 6 under Arch Linux

OS: Arch Linux, x86_64;
Glib: 2.20-2;
GCC: 4.9.1;
clang: 3.5.0;
root: 6.02/00;
cmake: 3.0.2

Error log:

[ 60%] Generating hsimple.root
Error in <UnknownClass::FindDynamicLibrary>: libCling[.so | .dll | .dylib | .sl | .dl | .a] does not exist in .:/data/exaos/Workspace/build/build-root6/lib:
Fatal in <TROOT::InitInterpreter>: cannot load symbol bin/hsimple.exe: undefined symbol: CreateInterpreter
CMakeFiles/hsimple.dir/build.make:51: recipe for target 'hsimple.root' failed
make[2]: *** [hsimple.root] Error 1
make[2]: Leaving directory '/data/exaos/Workspace/build/build-root6'
CMakeFiles/Makefile2:157: recipe for target 'CMakeFiles/hsimple.dir/all' failed
make[1]: *** [CMakeFiles/hsimple.dir/all] Error 2
make[1]: Leaving directory '/data/exaos/Workspace/build/build-root6'
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2


it seems that the compilation worked fine. When running root to create the hsimple output though, the environment does not seem to be properly setup.
How is your directory structure? What is your cmake command?