Linux RHEL 5 (SLC5) x86-64 with gcc 4.3, version 5.26/0

Hi,

i’ve problems after having installed the pre-compiled version of root from here:

ftp://root.cern.ch/root/root_v5.26.00.L … 4.3.tar.gz

on one of the newer kubuntu 9.11 (32bit) versions on an AMD Turion-64 x2 processor with gcc (Ubuntu 4.4.1-4ubuntu9) 4.4.1. Sourcing and opening works fine, booking and i suppose also filling a histogram is also ok. So in principle the executable works.

But when trying to open anything (TCanvas or TBrowser) to inspect histograms or trees i get a crash with a failure when loading the libASImage.so library (*). Can someone help me out from this? Or tell me what’s going on?

Many thanx and cheers,
Roger Wolf

(*)


  •                                     *                                                              
    
  •    W E L C O M E  to  R O O T       *                                                              
    
  •                                     *                                                              
    
  • Version 5.26/00 14 December 2009 *
  •                                     *                                                              
    
  • You are welcome to visit our Web site *
  •      [root.cern.ch](http://root.cern.ch)            *                                                              
    
  •                                     *                                                              
    

ROOT 5.26/00 (trunk@31882, Dec 14 2009, 20:18:36 on linuxx8664gcc)

CINT/ROOT C/C++ Interpreter version 5.17.00, Dec 21, 2008
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] TBrowser t
dlopen error: libtiff.so.3: cannot open shared object file: No such file or directory
Load Error: Failed to load Dynamic link library /opt/root/lib/libASImage.so
Error in TCint::AutoLoad: failure loading library libASImage.so for class TASImage
Error in TPluginHandler::SetupCallEnv: class TASImage not found in plugin ASImage
Error in TGComboBox::TGComboBox: arrow_down.xpm not found
Error in TGVScrollBar::TGVScrollBar: arrow_*.xpm not found

*** Break *** segmentation violation

===========================================================
There was a crash.
This is the entire stack trace of all threads:

#0 0x00007fd5fe9e0b0e in waitpid () from /lib/libc.so.6
#1 0x00007fd5fe97e1f9 in ?? () from /lib/libc.so.6
#2 0x00007fd60069e05a in TUnixSystem::StackTrace() () from /opt/root/lib/libCore.so
#3 0x00007fd60069ea55 in TUnixSystem::DispatchSignals(ESignals) () from /opt/root/lib/libCore.so
#4
#5 0x00007fd5fa9f559d in TGVScrollBar::SetPosition(int) () from /opt/root/lib/libGui.so
#6 0x00007fd5fa9b25e4 in TGListBox::Layout() () from /opt/root/lib/libGui.so
#7 0x00007fd5fa9894a2 in TGFrame::Resize(unsigned int, unsigned int) () from /opt/root/lib/libGui.so
#8 0x00007fd5fa9b27f5 in TGListBox::Resize(unsigned int, unsigned int) () from /opt/root/lib/libGui.so
#9 0x00007fd5fa960660 in TGComboBox::Init() () from /opt/root/lib/libGui.so
#10 0x00007fd5fa960d17 in TGComboBox::TGComboBox(TGWindow const*, int, unsigned int, unsigned long) ()
from /opt/root/lib/libGui.so
#11 0x00007fd5fa99ae5e in TGFSComboBox::TGFSComboBox(TGWindow const*, int, unsigned int, unsigned long) ()
from /opt/root/lib/libGui.so
#12 0x00007fd5faa56765 in TRootBrowserLite::CreateBrowser(char const*) () from /opt/root/lib/libGui.so
#13 0x00007fd5faa57f35 in TRootBrowserLite::TRootBrowserLite(TBrowser*, char const*, unsigned int, unsigned int) ()
from /opt/root/lib/libGui.so
#14 0x00007fd5faa57ff9 in TRootBrowserLite::NewBrowser(TBrowser*, char const*, unsigned int, unsigned int, char const*) () from /opt/root/lib/libGui.so
#15 0x00007fd5fad39de9 in G__G__Gui3_252_0_56(G__value*, char const*, G__param*, int) () from /opt/root/lib/libGui.so
#16 0x00007fd5ffbf0c7c in Cint::G__CallFunc::Execute(void*) () from /opt/root/lib/libCint.so
#17 0x00007fd600684091 in TCint::CallFunc_ExecInt(void*, void*) const () from /opt/root/lib/libCore.so
#18 0x00007fd6006754a4 in TMethodCall::Execute(void*, long&) () from /opt/root/lib/libCore.so
#19 0x00007fd6005eda99 in TPluginHandler::ExecPlugin(int, …) () from /opt/root/lib/libCore.so
#20 0x00007fd5faa6a2c8 in TRootGuiFactory::CreateBrowserImp(TBrowser*, char const*, unsigned int, unsigned int, char const*) () from /opt/root/lib/libGui.so
#21 0x00007fd6005c7311 in TBrowser::TBrowser(char const*, char const*, TBrowserImp*, char const*) ()
from /opt/root/lib/libCore.so
#22 0x00007fd6007a2848 in G__G__Base1_80_0_3(G__value*, char const*, G__param*, int) () from /opt/root/lib/libCore.so
#23 0x00007fd5ffbc15d4 in Cint::G__ExceptionWrapper(int ()(G__value, char const*, G__param*, int), G__value*, char*, G__param*, int) () from /opt/root/lib/libCint.so
#24 0x00007fd5ffc6f700 in G__execute_call () from /opt/root/lib/libCint.so
#25 0x00007fd5ffc70f44 in G__call_cppfunc () from /opt/root/lib/libCint.so
#26 0x00007fd5ffc4c76d in G__interpret_func () from /opt/root/lib/libCint.so
#27 0x00007fd5ffc3b678 in G__getfunction () from /opt/root/lib/libCint.so
#28 0x00007fd5ffc03d7a in G__define_var () from /opt/root/lib/libCint.so
#29 0x00007fd5ffc9a342 in G__exec_statement () from /opt/root/lib/libCint.so
#30 0x00007fd5ffbf9b39 in G__exec_tempfile_core () from /opt/root/lib/libCint.so
#31 0x00007fd5ffbf9dde in G__exec_tempfile_fp () from /opt/root/lib/libCint.so
#32 0x00007fd5ffcaa7f9 in G__process_cmd () from /opt/root/lib/libCint.so
#33 0x00007fd600689d45 in TCint::ProcessLine(char const*, TInterpreter::EErrorCode*) () from /opt/root/lib/libCore.so
#34 0x00007fd6005bcf94 in TApplication::ProcessLine(char const*, bool, int*) () from /opt/root/lib/libCore.so
#35 0x00007fd600e4e6df in TRint::HandleTermInput() () from /opt/root/lib/libRint.so
#36 0x00007fd60069c014 in TUnixSystem::CheckDescriptors() () from /opt/root/lib/libCore.so
#37 0x00007fd60069c630 in TUnixSystem::DispatchOneEvent(bool) () from /opt/root/lib/libCore.so
#38 0x00007fd60061a3d6 in TSystem::InnerLoop() () from /opt/root/lib/libCore.so
#39 0x00007fd60061c63c in TSystem::Run() () from /opt/root/lib/libCore.so
#40 0x00007fd6005bac1f in TApplication::Run(bool) () from /opt/root/lib/libCore.so
#41 0x00007fd600e504b8 in TRint::Run(bool) () from /opt/root/lib/libRint.so
#42 0x00000000004010cd in main ()

The lines below might hint at the cause of the crash.
If they do not help you then please submit a bug report at
root.cern.ch/bugs. Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.

#5 0x00007fd5fa9f559d in TGVScrollBar::SetPosition(int) () from /opt/root/lib/libGui.so
#6 0x00007fd5fa9b25e4 in TGListBox::Layout() () from /opt/root/lib/libGui.so
#7 0x00007fd5fa9894a2 in TGFrame::Resize(unsigned int, unsigned int) () from /opt/root/lib/libGui.so
#8 0x00007fd5fa9b27f5 in TGListBox::Resize(unsigned int, unsigned int) () from /opt/root/lib/libGui.so
#9 0x00007fd5fa960660 in TGComboBox::Init() () from /opt/root/lib/libGui.so
#10 0x00007fd5fa960d17 in TGComboBox::TGComboBox(TGWindow const*, int, unsigned int, unsigned long) ()
from /opt/root/lib/libGui.so
#11 0x00007fd5fa99ae5e in TGFSComboBox::TGFSComboBox(TGWindow const*, int, unsigned int, unsigned long) ()
from /opt/root/lib/libGui.so
#12 0x00007fd5faa56765 in TRootBrowserLite::CreateBrowser(char const*) () from /opt/root/lib/libGui.so
#13 0x00007fd5faa57f35 in TRootBrowserLite::TRootBrowserLite(TBrowser*, char const*, unsigned int, unsigned int) ()
from /opt/root/lib/libGui.so
#14 0x00007fd5faa57ff9 in TRootBrowserLite::NewBrowser(TBrowser*, char const*, unsigned int, unsigned int, char const*) () from /opt/root/lib/libGui.so

Hi,

First of all, maybe compiling from source would be more easy, but anyway, this line:

[quote]
dlopen error: libtiff.so.3: cannot open shared object file: No such file or directory[/quote]
Indicates that you don’t have libtiff installed on your system (or is not the required version). So you should try to install the missing library first (there could be more than this one missing, you’ll see…)
And if you have too many issues like this one (missing libraries), just compile from source. It is very easy and you are sure to have the configuration matching your system :wink:

Cheers, Bertrand.

This did the job for me: