Hi ROOT team,
I’m a 15+ year ROOT user. Every couple years I usually have to do an install on a new machine and it is usually pretty smooth, but I’m having trouble with a new 32 bit Ubuntu install.
I followed the instructions on: root.cern.ch/building-root
I installed all optional and required packages, and ran thisroot.sh and I think everything went OK. However, when I try to compile (using a Makefile and code that works on my old machine), I get the output below. It says the libraries are incompatible. I’m guessing it’s a 64bit vs 32 bit conflict.
Any help or ideas would be greatly appreciated.
thanks
Ken
kwd1@kwd1-ThinkPad-T410:~/bica/code$ make bica6
g++ -g -finline-functions -std=c++11 -lpthread -lrt -m64 -I/home/kwd1/bica/root-6.05.02/builddir/include bica6.cpp -L/home/kwd1/bica/root-6.05.02/test/…/builddir/lib -lCore -lCint -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -pthread -lm -ldl -rdynamic -o bica6
/usr/bin/ld: skipping incompatible /home/kwd1/bica/root-6.05.02/test/…/builddir/lib/libCore.so when searching for -lCore
/usr/bin/ld: cannot find -lCore
/usr/bin/ld: cannot find -lCint
/usr/bin/ld: skipping incompatible /home/kwd1/bica/root-6.05.02/test/…/builddir/lib/libRIO.so when searching for -lRIO
/usr/bin/ld: cannot find -lRIO
…
(this continues for all libraries after -lCore in the g++ line.)
this is indeed odd.
I understand that ROOT works fine from your post: can you confirm it? (start the prompt, run a couple of tutorial should be enough).
Is it possible to obtain the code you are testing (bica)?
Independent of that, I see you are linking libCint.so: this does not exist anymore in the 6 series.
Hi Danilo,
yes, I can start the root shell and run the tutorials.
Here is the code and Makefile. I also took out the -lCint, and got the same failure.
thanks
Ken
Code attached, here is the Makefile:
edit: the ROOT code is commented out temporarily in the .cpp