Hello,
I am running Mac OS X 10.6.3 on a new Intel-based Mac computer, and trying to install ROOT v 5.26.00.b from the downloaded tarball.
I have set $ROOTSYS = /cern/root
and $LD_LIBRARY_PATH = /cern/root/lib
When I start the build, it eventually dies with the following link error:
gfortran -O2 -m64 -o bin/g2root main/src/g2root.o
-Llib lib/libminicern.so
/usr/local/lib/gcc/i686-apple-darwin8/4.2.1/…/…/…/x86_64/libgfortran.dylib /usr/local/lib/gcc/i686-apple-darwin8/4.2.1/x86_64/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
rm core/utils/src/RStl_tmp.cxx core/utils/src/rootcint_tmp.cxx
I have tried several different versions of ./configure, ./configure macosx , and ./configure macosx64. I also tried ./configure --disable-rpath , and that didn’t seem to make any difference.
Any help would be greatly appreciated!
- David Asgeirsson