I have a problem installing Root on my Mac. I started with a virgin Snowleopard, version 10.6.7. Due to other requests I need the Root version 5.26. I tried it with different patches and always end with the following error:
gfortran -O2 -m32 -o bin/g2root main/src/g2root.o
-Llib lib/libminicern.so
/usr/local/lib/gcc/i686-apple-darwin8/4.2.3/…/…/…/libgfortran.dylib /usr/local/lib/gcc/i686-apple-darwin8/4.2.3/libgfortranbegin.a -lm -Wl,-rpath,@loader_path/…/lib -pthread -ldl
ld: -rpath can only be used when targeting Mac OS X 10.5 or later
collect2: ld returned 1 exit status
make: *** [bin/g2root] Error 1
I configured with ./configure macosx. Any idea why I get this error?
But when I run Root and try to #include “Math/GSLIntegrator.h”
I get the following error:
dlopen error: dlopen(/usr/local/root//lib/libMathMore.so, 9): Symbol not found: _gsl_interp_akima
Referenced from: /usr/local/root//lib/libMathMore.so
Expected in: flat namespace
in /usr/local/root//lib/libMathMore.so
Load Error: Failed to load Dynamic link library /usr/local/root//lib/libMathMore.so
Error in TCint::AutoLoadCallback: failure loading library libMathMore.so for class ROOT::Math::GSLIntegrator