Hello,
I’ve been using Root only for a few months, I have ROOT Version:_ 6.18/04 installed on the Windows 10 subsystem of Ubuntu 18.04.
While trying to run a .c++ file provided by my professor, I get the following error
Processing letturaFile.C++("lens.txt",40,200,300)...
Info in <TUnixSystem::ACLiC>: creating shared library /home/ubuntu/uni/./letturaFile_C.so
Warning in cling::IncrementalParser::CheckABICompatibility():
Possible C++ standard library mismatch, compiled with __GLIBCXX__ '20181206'
Extraction of runtime standard library version was: '20191114'
cling::DynamicLibraryManager::loadLibrary(): libtiff.so.5: cannot open shared object file: No such file or directory
cling::DynamicLibraryManager::loadLibrary(): libtiff.so.5: cannot open shared object file: No such file or directory
cling::DynamicLibraryManager::loadLibrary(): libtiff.so.5: cannot open shared object file: No such file or directory
Error in <TInterpreter::TCling::AutoLoad>: failure loading library libASImage.so for TASImage
cling::DynamicLibraryManager::loadLibrary(): libtiff.so.5: cannot open shared object file: No such file or directory
cling::DynamicLibraryManager::loadLibrary(): libtiff.so.5: cannot open shared object file: No such file or directory
Error in <TInterpreter::TCling::AutoLoad>: failure loading library libASImage.so for TASImage
cling::DynamicLibraryManager::loadLibrary(): libtiff.so.5: cannot open shared object file: No such file or directory
Error in <TGHScrollBar::TGHScrollBar>: arrow_*.xpm not found
cling::DynamicLibraryManager::loadLibrary(): libtiff.so.5: cannot open shared object file: No such file or directory
Error in <TInterpreter::TCling::AutoLoad>: failure loading library libASImage.so for TASImage
cling::DynamicLibraryManager::loadLibrary(): libtiff.so.5: cannot open shared object file: No such file or directory
cling::DynamicLibraryManager::loadLibrary(): libtiff.so.5: cannot open shared object file: No such file or directory
Error in <TInterpreter::TCling::AutoLoad>: failure loading library libASImage.so for TASImage
cling::DynamicLibraryManager::loadLibrary(): libtiff.so.5: cannot open shared object file: No such file or directory
Error in <TGVScrollBar::TGVScrollBar>: arrow_*.xpm not found
cling::DynamicLibraryManager::loadLibrary(): libtiff.so.5: cannot open shared object file: No such file or directory
Error in <TInterpreter::TCling::AutoLoad>: failure loading library libASImage.so for TASImage
cling::DynamicLibraryManager::loadLibrary(): libtiff.so.5: cannot open shared object file: No such file or directory
*** Break *** segmentation violation
Generating stack trace...
0x00007f9b199d7399 in TGCompositeFrame::MapSubwindows() + 0xa9 from /home/ubuntu/Applications/root/lib/libGui.so.6.18.04
0x00007f9b199d7399 in TGCompositeFrame::MapSubwindows() + 0xa9 from /home/ubuntu/Applications/root/lib/libGui.so.6.18.04
0x00007f9b19ac9e92 in TRootCanvas::CreateCanvas(char const*) + 0x1982 from /home/ubuntu/Applications/root/lib/libGui.so.6.18.04
0x00007f9b19aca95c in TRootCanvas::TRootCanvas(TCanvas*, char const*, int, int, unsigned int, unsigned int) + 0x7c from /home/ubuntu/Applications/root/lib/libGui.so.6.18.04
0x00007f9b19ad7dee in TRootGuiFactory::CreateCanvasImp(TCanvas*, char const*, int, int, unsigned int, unsigned int) + 0x4e from /home/ubuntu/Applications/root/lib/libGui.so.6.18.04
0x00007f9b1bf2f3e1 in TCanvas::Constructor(char const*, char const*, int, int, int, int) + 0x2b1 from /home/ubuntu/Applications/root/lib/libGpad.so.6.18.04
0x00007f9b1bf3177f in TCanvas::TCanvas(char const*, char const*, int, int, int, int) + 0xef from /home/ubuntu/Applications/root/lib/libGpad.so.6.18.04
0x00007f9b1b222384 in letturaFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double const&, double const&, double const&) + 0x314 from /home/ubuntu/uni/letturaFile_C.so
0x00007f9b2b6410b8 in <unknown function>
0x00007f9b25ab0440 in cling::IncrementalExecutor::executeWrapper(llvm::StringRef, cling::Value*) const + 0x380 from /home/ubuntu/Applications/root/lib/libCling.so
0x00007f9b25a43217 in cling::Interpreter::RunFunction(clang::FunctionDecl const*, cling::Value*) + 0xa7 from /home/ubuntu/Applications/root/lib/libCling.so
0x00007f9b25a4487f in cling::Interpreter::EvaluateInternal(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cling::CompilationOptions, cling::Value*, cling::Transaction**, unsigned long) + 0x1df from /home/ubuntu/Applications/root/lib/libCling.so
0x00007f9b25a44b27 in cling::Interpreter::process(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cling::Value*, cling::Transaction**, bool) + 0x177 from /home/ubuntu/Applications/root/lib/libCling.so
0x00007f9b25b07acd in cling::MetaProcessor::process(llvm::StringRef, cling::Interpreter::CompilationResult&, cling::Value*, bool) + 0x1ed from /home/ubuntu/Applications/root/lib/libCling.so
0x00007f9b259c3a2e in <unknown> from /home/ubuntu/Applications/root/lib/libCling.so
0x00007f9b259d81af in <unknown> from /home/ubuntu/Applications/root/lib/libCling.so
0x00007f9b259cc8d7 in <unknown> from /home/ubuntu/Applications/root/lib/libCling.so
0x00007f9b2acdff48 in TApplication::ExecuteFile(char const*, int*, bool) + 0x528 from /home/ubuntu/Applications/root/lib/libCore.so.6.18
0x00007f9b2acdf6ec in TApplication::ProcessLine(char const*, bool, int*) + 0xa7c from /home/ubuntu/Applications/root/lib/libCore.so.6.18
0x00007f9b2b1e1912 in TRint::ProcessLineNr(char const*, char const*, int*) + 0x62 from /home/ubuntu/Applications/root/lib/libRint.so.6.18
0x00007f9b2b1e3209 in TRint::Run(bool) + 0x1a9 from /home/ubuntu/Applications/root/lib/libRint.so.6.18
0x00007f9b2b800a3c in <unknown> from /home/ubuntu/Applications/root/bin/root.exe
0x00007f9b2a141b97 in __libc_start_main + 0xe7 from /lib/x86_64-linux-gnu/libc.so.6
0x00007f9b2b800a9a in _start + 0x2a from /home/ubuntu/Applications/root/bin/root.exe
I’m assuming the error isn’t caused by the file itself, but I can’t figure out the problem. I tried to look at old topics, but I haven’t found a solution yet.
Any help is very much welcome, thanks in advance