After downloading root root_v5.25.02.source.tar.gz from the website and installing it without problem on a mac os 10.5.8, I cannot make it run properly… The error I have when launching it is the following :
root [0] TBrowser a
dlopen error: dlopen(/Applications/root/lib/libASImage.so, 9): Symbol not found: _alphablend_scanlines
Referenced from: /Applications/root/lib/libASImage.so
Expected in: dynamic lookup
I also tried :
root [1] TCanvas t = new TCanvas();
dlopen error: dlopen(/Applications/root/lib/libASImage.so, 9): Symbol not found: _alphablend_scanlines
Referenced from: /Applications/root/lib/libASImage.so
Expected in: dynamic lookup
Looks like Root is using the wrong libAfterImage, or that libAfterImage is corrupted… How did you configure root (which options)?
Could you verify that $(ROOTSYS)/lib/libAfterImage.a exists?
Yes I have installed root here :
/Applications/root
and set the rootsys environment to :
setenv ROOTSYS /Applications/root
then just did
./configure
make
tryed
root
and got
ftuser% root
rootx xpm error: XpmColorFailed
*
W E L C O M E to R O O T *
*
Version 5.25/02 29 September 2009 *
*
You are welcome to visit our Web site *
[root.cern.ch](http://root.cern.ch) *
*
ROOT 5.25/02 (trunk@30530, Sep 29 2009, 15:28:19 on macosx64)
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 a
dlopen error: dlopen(/Applications/root/lib/libASImage.so, 9): Symbol not found: _alphablend_scanlines
Referenced from: /Applications/root/lib/libASImage.so
Expected in: dynamic lookup
Load Error: Failed to load Dynamic link library /Applications/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
Thread 1 (process 31368 thread 0x10b): #0 0x00007fff80413378 in wait4 () #1 0x00007fff8042fdbb in system () #2 0x00000001000ced19 in TUnixSystem::StackTrace () #3 0x00000001000cd09d in TUnixSystem::DispatchSignals () #4 0x00007fff804123fa in _sigtramp () #5 0x5800000000000080 in ?? () #6 0x0000000100000000 in ?? ()
good to hear it works. In principle ROOT should work on the Mac without setting ROOTSYS and adding it to (DY)LD_LIBRARY_PATH as we use -rpath during linking of all the libs and executables (you only need to add ~/root/bin to your PATH). I don’t know what could have gone wrong the first time in the Applications directory. Enjoy.