Problem with

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/, 9): Library not loaded: /opt/local/lib/libpng15.15.dylib
Referenced from: /opt/local/lib/root/
Reason: image not found
Load Error: Failed to load Dynamic link library /opt/local/lib/root/
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>

void plot_test(){

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


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

G Ganis

May be see:

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


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