Problem with libASImage.so

Hi
I am running root on MAC OS 10.9. It worked fine, but recently I installed some new software which seems to have messed up root? I don’t quite know what exactly it was but I now get the following error message

root [0] .x plot_test.C
dlopen error: dlopen(/opt/local/lib/root/libASImage.so, 9): Library not loaded: /opt/local/lib/libpng15.15.dylib
Referenced from: /opt/local/lib/root/libASImage.so
Reason: image not found
Load Error: Failed to load Dynamic link library /opt/local/lib/root/libASImage.so
Error in TGHScrollBar::TGHScrollBar: arrow_.xpm not found
Error in TGVScrollBar::TGVScrollBar: arrow_
.xpm not found

*** Break *** segmentation violation
Generating stack trace…

my test program only defines a Canvas

#include <math.h>
#include
#include

void plot_test(){
gROOT->SetStyle(“Plain”);
gStyle->SetOptStat(0);
gStyle->SetOptFit(1111);
gStyle->SetPalette(1);

TCanvas *c = new TCanvas("output/test", "test", 0, 0, 750, 600);

}

if I do not define the Canvas, the program runs without error message
thanks for any help
best
fl

Hello,

Could you please indicate which version of ROOT you are using?
What kind of new software did you install?

G Ganis

May be see:

root.cern.ch/root/roottalk/roottalk98/0370.html

I am using root 5.34

macbook18:plotting_root fbeutler$ root


  •                                     *
    
  •    W E L C O M E  to  R O O T       *
    
  •                                     *
    
  • Version 5.34/07 26 April 2013 *
  •                                     *
    
  • You are welcome to visit our Web site *
  •      [root.cern.ch](http://root.cern.ch)            *
    
  •                                     *
    

ROOT 5.34/07 (tags/v5-34-07@49362, Apr 26 2013, 13:01:34 on macosx64)

CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.

Hi,

Did you compile ROOT by yourself (a) or did you install the precompiled binaries (b)?
Your version is two years old and may be that the new software installed new version of certain libraries incompatible with your previous binaries.
In case (a) I would rebuild ROOT again; in case (b) I would try be installing a more recent version.

G Ganis