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
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.