Undefined symbol: _ZN3TF1C1Ev


I have a small library with functions based on root. I compile and use it sucesfully on my PC. Now I’ve tried on lxplus at cern. I can load it, but an error occures when I load and object:

root [0] .L libTHR.so
root [1] TMagnetCoil *mc = new TMagnetCoil()
/afs/cern.ch/sw/lcg/external/root/5.18.00a/slc4_amd64_gcc34/root/bin/root.exe: symbol lookup error: /afs/cern.ch/user/b/blmthrc/blmthrc/Macros/./libTHR.so: undefined symbol: _ZN3TF1C1Ev

here are my PATH and LD_CONFIG_PATH configurations:
echo $PATH

ROOTSYS is pointing to the same root directory…

I cannot execute ldconfig as I have no root priviliges…

Could you suggest me what to do?



You are mixing code compiled with the -m32 option with code compiled with -m64. All lxplus machines are 64 bit machines.