Hi,
I am trying to use root on my mac intel. I use the trunk version of root and the system is in version 10.5.2.
I did ./configure macosx64 and I can launch root and use tutorials without problem. But when I try to compile a small project that I developed on Linux, then I get the following error :
ld: warning in /local/root/lib/libCore.so, file is not of required architecture
ld: warning in /local/root/lib/libCint.so, file is not of required architecture
ld: warning in /local/root/lib/libRIO.so, file is not of required architecture
ld: warning in /local/root/lib/libNet.so, file is not of required architecture
ld: warning in /local/root/lib/libHist.so, file is not of required architecture
ld: warning in /local/root/lib/libGraf.so, file is not of required architecture
ld: warning in /local/root/lib/libGraf3d.so, file is not of required architecture
ld: warning in /local/root/lib/libGpad.so, file is not of required architecture
ld: warning in /local/root/lib/libTree.so, file is not of required architecture
ld: warning in /local/root/lib/libRint.so, file is not of required architecture
ld: warning in /local/root/lib/libPostscript.so, file is not of required architecture
ld: warning in /local/root/lib/libMatrix.so, file is not of required architecture
ld: warning in /local/root/lib/libPhysics.so, file is not of required architecture
ld: warning in /local/root/lib/libMathCore.so, file is not of required architecture
ld: warning in /local/root/lib/libGui.so, file is not of required architecture
ld: warning in /local/root/lib/libEve.so, file is not of required architecture
ld: warning in /local/root/lib/libTreePlayer.so, file is not of required architecture
ld: warning in /local/root/lib/libGeom.so, file is not of required architecture
ld: warning in /local/root/lib/libRGL.so, file is not of required architecture
ld: warning in /local/root/lib/libGed.so, file is not of required architecture
ld: warning in /local/root/lib/libEG.so, file is not of required architecture
ld: warning in MyDict.o, file is not of required architecture
ld: warning in TAmoreObject.o, file is not of required architecture
ld: warning in MockAmoreProvider.o, file is not of required architecture
ld: warning in AmorEveMain.o, file is not of required architecture
ld: warning in TAmoreObjectManager.o, file is not of required architecture
ld: warning in TAmoreFileBrowser.o, file is not of required architecture
ld: warning in VCanvasLayoutMaker.o, file is not of required architecture
ld: warning in SimpleLayoutMaker.o, file is not of required architecture
ld: warning in AmoreCanvasWrapper.o, file is not of required architecture
ld: warning in TAmoreCanvasPlugin.o, file is not of required architecture
Undefined symbols:
"_main", referenced from:
start in crt1.10.5.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [../main] Error 1
make: *** [all] Error 2
I thought maybe I was wrong using the macosx64 architecture. I tried simply macosx and then even root refused to start :
dyld: Library not loaded: /lib/libCint.so
Referenced from: /local/root/bin/root.exe
Reason: no suitable image found. Did find:
/local/root/lib/libCint.so: mach-o, but wrong architecture
/local/root/lib/libCint.so: mach-o, but wrong architecture
What am I doing wrong ? Did I miss something ?
Thanks in advance
Barth