Linking problems when using a lcg release (?) of root on lxplus

Dear ROOTers,

with the following settings [1], I am trying to compile some geant4 library with cmake and then make. Unfortunately, I end up with the following errors [2] at the linking stage.
How can I solve this?
I crafted the configuration I am using, since I’ve not been able to find anywhere any instructions on how to get a reasonably modern setup, nor any indications on what are officially released compiled versions of ROOT for use on lxplus, hence I am very eager to change that if I get meaningful suggestions.

Best regards,


ROOT Version: 6.18
Platform: lxplus
Compiler: gcc

[1] settings:
source /cvmfs/
source /cvmfs/
source /cvmfs/
export PATH=/cvmfs/$PATH

[2] errors:
/cvmfs/ warning:, needed by /cvmfs/, not found (try using -rpath or -rpath-link)
/cvmfs/ undefined reference to tbb::interface7::internal::isolate_within_arena(tbb::interface7::internal::delegate_base&, long)' /cvmfs/ undefined reference toDavix::DavPosix::open(Davix::RequestParams const*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, int, Davix::DavixError**)’
/cvmfs/ undefined reference to Davix::DavPosix::stat(Davix::RequestParams const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, stat*, Davix::DavixError**)' /cvmfs/ undefined reference toDavix::DavixError::getErrMsgabi:cxx11 const’
/cvmfs/ undefined reference to tbb::interface7::internal::task_arena_base::internal_terminate()' /cvmfs/ undefined reference totbb::interface7::internal::task_arena_base::internal_initialize()’
/cvmfs/ undefined reference to `tbb::interface7::internal::task_arena_base::internal_execute(tbb::interface7::internal::delegate_base&) const’
collect2: error: ld returned 1 exit status
make[2]: *** [ofos] Error 1
make[1]: *** [CMakeFiles/ofos.dir/all] Error 2
make: *** [all] Error 2

I solved the problem moving to an older version of the compiler.

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