Dear all,
I have some strange problem in ROOT 5.17/04 on my SUSE 10.3 with default kernel and gcc set.
System variables are:
lap-zwe:/usr/local/root/test # echo $ROOTSYS
/usr/local/root
lap-zwe:/usr/local/root/test # echo $LD_LIBRARY_PATH
/usr/local/root/lib
lap-zwe:/usr/local/root/test # which root
/usr/local/root/bin/root
lap-zwe:/usr/local/root/test # echo $PATH
/opt/kde3/bin:/home/zwe/bin:/usr/local/bin:/usr/bin:/sbin:
/usr/sbin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:
/usr/lib/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:
/usr/lib/qt3/bin:/usr/local/root/bin
Trying to run minexam with aclic
lap-zwe:/usr/local/root/test # root -l "minexam.cxx+"
root [0]
Processing minexam.cxx+...
Info in <TUnixSystem::ACLiC>: creating shared
library /usr/local/root/test/./minexam_cxx.so
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../../i586-suse-linux/bin/ld: cannot
find -lCore
collect2: ld returned 1 exit status
Error in <ACLiC>: Compilation failed!
Error: Function minexam() is not defined in current scope :0:
*** Interpreter error recovered ***
Does it find libCore?
lap-zwe:/usr/local/root/test # find / -name libCore.*
/usr/local/root/lib/libCore.so.5.17
/usr/local/root/lib/libCore.rootmap
/usr/local/root/lib/libCore.so
/usr/local/root/lib/libCore.so.5
Please note that minexam compilation with g++ and root-config as below:
lap-zwe:/usr/local/root/test # root-config --cflags --glibs
-pthread -m32 -I/usr/local/root/include -L/usr/local/root/lib
-lCore -lCint -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree
-lRint -lPostscript -lMatrix -lPhysics -lGui -pthread -lm -ldl
-rdynamic
is successful!
ROOT has been configured both with and without --prefix but i’ve had the same problem. Above is the case with ROOT configured without --prefix but with $ROOTSYS
Thanks in advance!