I am a beginner in C++ and I am reaching out to ask for help with my code.
I am trying to source root on lxplus. Initially (early last year) it would run without having issues, my contract with cern had expired and i just renewed it, now I am getting the following error message.
Please look at how I source it and my error .
I hope you hear from you soon
Kind regards,
Chuene
Here is it:
2,5 All
rundir=/afs/cern.ch/user/c/chmosoma/public
source /cvmfs/sft.cern.ch/lcg/contrib/gcc/4.8/x86_64-slc6-gcc48-opt/setup.sh
source /cvmfs/sft.cern.ch/lcg/app/releases/ROOT/6.06.02/x86_64-slc6-gcc48-opt/root/bin/thisroot.sh
Here is my error
No such file or directory
/bin/ld: warning: libssl.so.10, needed by /cvmfs/sft.cern.ch/lcg/app/releases/ROOT/6.06.02/x86_64-slc6-gcc48-opt/root/lib/libNet.so, not found (try using -rpath or -rpath-link)
/bin/ld: warning: libcrypto.so.10, needed by /cvmfs/sft.cern.ch/lcg/app/releases/ROOT/6.06.02/x86_64-slc6-gcc48-opt/root/lib/libNet.so, not found (try using -rpath or -rpath-link)
/bin/ld: /lib/β¦/lib64/crt1.o: in function _start': (.text+0x1b): undefined reference to
mainβ
/bin/ld: /afs/cern.ch/user/c/chmosoma/public/MG5_aMC_v3_5_3/Delphes/libDelphes.so: undefined reference to vtable for std::__cxx11::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21' /bin/ld: /cvmfs/sft.cern.ch/lcg/app/releases/ROOT/6.06.02/x86_64-slc6-gcc48-opt/root/lib/libNet.so: undefined reference to
SSL_CTX_use_PrivateKey_file@libssl.so.10β
/bin/ld: /cvmfs/sft.cern.ch/lcg/app/releases/ROOT/6.06.02/x86_64-slc6-gcc48-opt/root/lib/libNet.so: undefined reference to SSL_set_fd@libssl.so.10' /bin/ld: /afs/cern.ch/user/c/chmosoma/public/MG5_aMC_v3_5_3/Delphes/libDelphes.so: undefined reference to
std::__cxx11::basic_stringstream<char, std::char_traits, std::allocator >::basic_stringstream()@GLIBCXX_3.4.26β
/bin/ld: /cvmfs/sft.cern.ch/lcg/app/releases/ROOT/6.06.02/x86_64-slc6-gcc48-opt/root/lib/libNet.so: undefined reference to SSL_library_init@libssl.so.10' /bin/ld: /usr/lib64/root/libTreePlayer.so.6.30: undefined reference to
std::logic_error::logic_error(char const*)@GLIBCXX_3.4.21β
/bin/ld: /usr/lib64/root/libROOTNTuple.so.6.30: undefined reference to __cxa_init_primary_exception@CXXABI_1.3.11' /bin/ld: /cvmfs/sft.cern.ch/lcg/app/releases/ROOT/6.06.02/x86_64-slc6-gcc48-opt/root/lib/libNet.so: undefined reference to
SSL_CTX_use_certificate_chain_file@libssl.so.10β
/bin/ld: /usr/lib64/root/libROOTNTuple.so.6.30: undefined reference to std::__atomic_futex_unsigned_base::_M_futex_notify_all(unsigned int*)@GLIBCXX_3.4.21' /bin/ld: /usr/lib64/root/libROOTNTuple.so.6.30: undefined reference to
std::_State::~_State()@GLIBCXX_3.4.22β
/bin/ld: /afs/cern.ch/user/c/chmosoma/public/MG5_aMC_v3_5_3/Delphes/libDelphes.so: undefined reference to std::basic_istream<char, std::char_traits<char> >& std::operator>><char, std::char_traits<char>, std::allocator<char> >(std::basic_istream<char, std::char_traits<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)@GLIBCXX_3.4.21' /bin/ld: /cvmfs/sft.cern.ch/lcg/app/releases/ROOT/6.06.02/x86_64-slc6-gcc48-opt/root/lib/libNet.so: undefined reference to
SSL_connect@libssl.so.10β
/bin/ld: /usr/lib64/root/libROOTDataFrame.so.6.30: undefined reference to std::logic_error::logic_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4.21' /bin/ld: /lib64/libarrow.so.900: undefined reference to
__divmodti4@GCC_7.0.0β
/bin/ld: /afs/cern.ch/user/c/chmosoma/public/MG5_aMC_v3_5_3/Delphes/libDelphes.so: undefined reference to std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_stringstream()@GLIBCXX_3.4.21' /bin/ld: /usr/lib64/root/libCore.so.6.30: undefined reference to
typeinfo for std::__cxx11::basic_ostringstream<char, std::char_traits, std::allocator >@GLIBCXX_3.4.21β
/bin/ld: /usr/lib64/root/libROOTNTuple.so.6.30: undefined reference to std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)())@GLIBCXX_3.4.22' /bin/ld: /usr/lib64/root/libROOTNTuple.so.6.30: undefined reference to
std::runtime_error::runtime_error(char const*)@GLIBCXX_3.4.21β
/bin/ld: /usr/lib64/root/libImt.so.6.30: undefined reference to std::invalid_argument::invalid_argument(char const*)@GLIBCXX_3.4.21' /bin/ld: /lib64/libarrow.so.900: undefined reference to
std::_Sp_locker::~_Sp_locker()@GLIBCXX_3.4.21β
/bin/ld: /cvmfs/sft.cern.ch/lcg/app/releases/ROOT/6.06.02/x86_64-slc6-gcc48-opt/root/lib/libNet.so: undefined reference to SSL_new@libssl.so.10' /bin/ld: /usr/lib64/root/libROOTNTuple.so.6.30: undefined reference to
std::__exception_ptr::exception_ptr::exception_ptr(void*)@CXXABI_1.3.11β
/bin/ld: /lib64/libarrow.so.900: undefined reference to std::_V2::system_category()@GLIBCXX_3.4.21' /bin/ld: /usr/lib64/root/libROOTNTuple.so.6.30: undefined reference to
std::__exception_ptr::exception_ptr::_M_release()@CXXABI_1.3.13β
/bin/ld: /afs/cern.ch/user/c/chmosoma/public/MG5_aMC_v3_5_3/Delphes/libDelphes.so: undefined reference to vtable for std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21' /bin/ld: /afs/cern.ch/user/c/chmosoma/public/MG5_aMC_v3_5_3/Delphes/libDelphes.so: undefined reference to
VTT for std::__cxx11::basic_istringstream<char, std::char_traits, std::allocator >@GLIBCXX_3.4.21β
/bin/ld: /usr/lib64/root/libImt.so.6.30: undefined reference to tbb::interface7::internal::isolate_within_arena(tbb::interface7::internal::delegate_base&, long)' /bin/ld: /cvmfs/sft.cern.ch/lcg/app/releases/ROOT/6.06.02/x86_64-slc6-gcc48-opt/root/lib/libNet.so: undefined reference to
SSL_free@libssl.so.10β
/bin/ld: /usr/lib64/root/libCore.so.6.30: undefined reference to std::uncaught_exceptions()@GLIBCXX_3.4.22' /bin/ld: /cvmfs/sft.cern.ch/lcg/app/releases/ROOT/6.06.02/x86_64-slc6-gcc48-opt/root/lib/libNet.so: undefined reference to
SSL_shutdown@libssl.so.10β
/bin/ld: /usr/lib64/root/libCore.so.6.30: undefined reference to std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_ostringstream()@GLIBCXX_3.4.21' /bin/ld: /afs/cern.ch/user/c/chmosoma/public/MG5_aMC_v3_5_3/Delphes/libDelphes.so: undefined reference to
std::__cxx11::basic_istringstream<char, std::char_traits, std::allocator >::~basic_istringstream()@GLIBCXX_3.4.21β
/bin/ld: /cvmfs/sft.cern.ch/lcg/app/releases/ROOT/6.06.02/x86_64-slc6-gcc48-opt/root/lib/libNet.so: undefined reference to HMAC@libcrypto.so.10' /bin/ld: /lib64/libarrow.so.900: undefined reference to
std::__cxx11::basic_istringstream<char, std::char_traits, std::allocator >::basic_istringstream(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::_Ios_Openmode)@GLIBCXX_3.4.21β
/bin/ld: /afs/cern.ch/user/c/chmosoma/public/MG5_aMC_v3_5_3/Delphes/libDelphes.so: undefined reference to std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_ostringstream()@GLIBCXX_3.4.21' /bin/ld: /afs/cern.ch/user/c/chmosoma/public/MG5_aMC_v3_5_3/Delphes/libDelphes.so: undefined reference to
operator delete(void*, unsigned long)@CXXABI_1.3.9β
/bin/ld: /afs/cern.ch/user/c/chmosoma/public/MG5_aMC_v3_5_3/Delphes/libDelphes.so: undefined reference to std::__cxx11::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::_M_sync(char*, unsigned long, unsigned long)@GLIBCXX_3.4.21' /bin/ld: /lib64/libarrow.so.900: undefined reference to
std::_Sp_locker::_Sp_locker(void const*)@GLIBCXX_3.4.21β
/bin/ld: /usr/lib64/root/libImt.so.6.30: undefined reference to tbb::interface7::internal::task_arena_base::internal_max_concurrency(tbb::interface7::task_arena const*)' /bin/ld: /afs/cern.ch/user/c/chmosoma/public/MG5_aMC_v3_5_3/Delphes/libDelphes.so: undefined reference to
vtable for std::__cxx11::basic_istringstream<char, std::char_traits, std::allocator >@GLIBCXX_3.4.21β
/bin/ld: /cvmfs/sft.cern.ch/lcg/app/releases/ROOT/6.06.02/x86_64-slc6-gcc48-opt/root/lib/libNet.so: undefined reference to SSL_peek@libssl.so.10' /bin/ld: /afs/cern.ch/user/c/chmosoma/public/MG5_aMC_v3_5_3/Delphes/libDelphes.so: undefined reference to
std::basic_istream<char, std::char_traits >& std::getline<char, std::char_traits, std::allocator >(std::basic_istream<char, std::char_traits >&, std::__cxx11::basic_string<char, std::char_traits, std::allocator >&, char)@GLIBCXX_3.4.21β
/bin/ld: /usr/lib64/root/libROOTVecOps.so.6.30: undefined reference to std::length_error::length_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4.21' /bin/ld: /afs/cern.ch/user/c/chmosoma/public/MG5_aMC_v3_5_3/Delphes/libDelphes.so: undefined reference to
std::__cxx11::basic_stringbuf<char, std::char_traits, std::allocator >::str() const@GLIBCXX_3.4.21β
/bin/ld: /afs/cern.ch/user/c/chmosoma/public/MG5_aMC_v3_5_3/Delphes/libDelphes.so: undefined reference to VTT for std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21' /bin/ld: /afs/cern.ch/user/c/chmosoma/public/MG5_aMC_v3_5_3/Delphes/libDelphes.so: undefined reference to
std::__throw_out_of_range_fmt(char const*, β¦)@GLIBCXX_3.4.20β
/bin/ld: /cvmfs/sft.cern.ch/lcg/app/releases/ROOT/6.06.02/x86_64-slc6-gcc48-opt/root/lib/libNet.so: undefined reference to SSL_write@libssl.so.10' /bin/ld: /usr/lib64/root/libROOTNTuple.so.6.30: undefined reference to
typeinfo for std::_State@GLIBCXX_3.4.22β
/bin/ld: /usr/lib64/root/libROOTNTuple.so.6.30: undefined reference to std::__cxx11::collate<char> const& std::use_facet<std::__cxx11::collate<char> >(std::locale const&)@GLIBCXX_3.4.21' /bin/ld: /usr/lib64/root/libROOTNTuple.so.6.30: undefined reference to
std::__atomic_futex_unsigned_base::_M_futex_wait_until_steady(unsigned int*, unsigned int, bool, std::chrono::duration<long, std::ratio<1l, 1l> >, std::chrono::duration<long, std::ratio<1l, 1000000000l> >)@GLIBCXX_3.4.29β
/bin/ld: /usr/lib64/root/libRIO.so.6.30: undefined reference to std::runtime_error::runtime_error(std::runtime_error const&)@GLIBCXX_3.4.21' /bin/ld: /afs/cern.ch/user/c/chmosoma/public/MG5_aMC_v3_5_3/Delphes/libDelphes.so: undefined reference to
std::__throw_bad_array_new_length()@GLIBCXX_3.4.29β
/bin/ld: /cvmfs/sft.cern.ch/lcg/app/releases/ROOT/6.06.02/x86_64-slc6-gcc48-opt/root/lib/libNet.so: undefined reference to SSL_CTX_new@libssl.so.10' /bin/ld: /afs/cern.ch/user/c/chmosoma/public/MG5_aMC_v3_5_3/Delphes/libDelphes.so: undefined reference to
std::runtime_error::runtime_error(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)@GLIBCXX_3.4.21β
/bin/ld: /afs/cern.ch/user/c/chmosoma/public/MG5_aMC_v3_5_3/Delphes/libDelphes.so: undefined reference to vtable for std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21' /bin/ld: /afs/cern.ch/user/c/chmosoma/public/MG5_aMC_v3_5_3/Delphes/libDelphes.so: undefined reference to
__cxa_throw_bad_array_new_length@CXXABI_1.3.8β
/bin/ld: /afs/cern.ch/user/c/chmosoma/public/MG5_aMC_v3_5_3/Delphes/libDelphes.so: undefined reference to std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()@GLIBCXX_3.4.26' /bin/ld: /usr/lib64/root/libROOTNTuple.so.6.30: undefined reference to
std::logic_error::logic_error(std::logic_error const&)@GLIBCXX_3.4.21β
/bin/ld: /usr/lib64/root/libROOTDataFrame.so.6.30: undefined reference to std::invalid_argument::invalid_argument(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4.21' /bin/ld: /lib64/libarrow.so.900: undefined reference to
std::__cxx11::numpunct const& std::use_facet<std::__cxx11::numpunct >(std::locale const&)@GLIBCXX_3.4.21β
/bin/ld: /cvmfs/sft.cern.ch/lcg/app/releases/ROOT/6.06.02/x86_64-slc6-gcc48-opt/root/lib/libNet.so: undefined reference to SSLv23_method@libssl.so.10' /bin/ld: /cvmfs/sft.cern.ch/lcg/app/releases/ROOT/6.06.02/x86_64-slc6-gcc48-opt/root/lib/libNet.so: undefined reference to
SSL_set_quiet_shutdown@libssl.so.10β
/bin/ld: /afs/cern.ch/user/c/chmosoma/public/MG5_aMC_v3_5_3/Delphes/libDelphes.so: undefined reference to std::runtime_error::runtime_error(char const*)@GLIBCXX_3.4.21' /bin/ld: /usr/lib64/root/libImt.so.6.30: undefined reference to
tbb::interface9::global_control::active_value(int)β
/bin/ld: /usr/lib64/root/libMathCore.so.6.30: undefined reference to std::out_of_range::out_of_range(char const*)@GLIBCXX_3.4.21' /bin/ld: /lib64/libarrow.so.900: undefined reference to
std::random_device::_M_init(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)@GLIBCXX_3.4.21β
/bin/ld: /cvmfs/sft.cern.ch/lcg/app/releases/ROOT/6.06.02/x86_64-slc6-gcc48-opt/root/lib/libNet.so: undefined reference to EVP_sha1@libcrypto.so.10' /bin/ld: /usr/lib64/root/libCore.so.6.30: undefined reference to
std::runtime_error::runtime_error(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)@GLIBCXX_3.4.21β
/bin/ld: /usr/lib64/root/libROOTNTuple.so.6.30: undefined reference to std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long, std::ratio<1l, 1l> >, std::chrono::duration<long, std::ratio<1l, 1000000000l> >)@GLIBCXX_3.4.21' /bin/ld: /usr/lib64/root/libROOTNTuple.so.6.30: undefined reference to
std::__exception_ptr::exception_ptr::_M_addref()@CXXABI_1.3.13β
/bin/ld: /cvmfs/sft.cern.ch/lcg/app/releases/ROOT/6.06.02/x86_64-slc6-gcc48-opt/root/lib/libNet.so: undefined reference to SSL_CTX_free@libssl.so.10' /bin/ld: /cvmfs/sft.cern.ch/lcg/app/releases/ROOT/6.06.02/x86_64-slc6-gcc48-opt/root/lib/libNet.so: undefined reference to
SSL_CTX_load_verify_locations@libssl.so.10β
/bin/ld: /afs/cern.ch/user/c/chmosoma/public/MG5_aMC_v3_5_3/Delphes/libDelphes.so: undefined reference to VTT for std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21' /bin/ld: /cvmfs/sft.cern.ch/lcg/app/releases/ROOT/6.06.02/x86_64-slc6-gcc48-opt/root/lib/libNet.so: undefined reference to
SSL_read@libssl.so.10β
/bin/ld: /afs/cern.ch/user/c/chmosoma/public/MG5_aMC_v3_5_3/Delphes/libDelphes.so: undefined reference to std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)@GLIBCXX_3.4.21' /bin/ld: /usr/lib64/root/libROOTNTuple.so.6.30: undefined reference to
std::logic_error::logic_error(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)@GLIBCXX_3.4.21β
/bin/ld: /cvmfs/sft.cern.ch/lcg/app/releases/ROOT/6.06.02/x86_64-slc6-gcc48-opt/root/lib/libNet.so: undefined reference to SSL_get_error@libssl.so.10' /bin/ld: /afs/cern.ch/user/c/chmosoma/public/MG5_aMC_v3_5_3/Delphes/libDelphes.so: undefined reference to
operator delete(void*, unsigned long)@CXXABI_1.3.9β
collect2: error: ld returned 1 exit status
-bash: exrootpath: command not found
-bash: ./maini: No such file or directory