Problem sourcing ROOT using LCG


*Hi,
I am sourcing ROOT from the LCG view(source /cvmfs/sft.cern.ch/lcg/views/LCG_106/x86_64-el8-gcc11-opt/setup.sh). While working locally on lxplus (CERN Cluster), I can easily run and access the correction library for extracting the desired numbers. While submitting the Condor jobs, I face the following error:
*
awk: symbol lookup error: /cvmfs/sft.cern.ch/lcg/views/LCG_106/x86_64-el8-gcc11-opt/lib/libreadline.so.8: undefined s
ymbol: UP
awk: symbol lookup error: /cvmfs/sft.cern.ch/lcg/views/LCG_106/x86_64-el8-gcc11-opt/lib/libreadline.so.8: undefined s
ymbol: UP
awk: symbol lookup error: /cvmfs/sft.cern.ch/lcg/views/LCG_106/x86_64-el8-gcc11-opt/lib/libreadline.so.8: undefined s
ymbol: UP
/cvmfs/sft.cern.ch/lcg/releases/R/4.3.0-df985/x86_64-el8-gcc11-opt/lib64/R/bin/exec/R: error while loading shared lib
raries: libreadline.so.7: cannot open shared object file: No such file or directory
/cvmfs/sft.cern.ch/lcg/releases/R/4.3.0-df985/x86_64-el8-gcc11-opt/lib64/R/bin/exec/R: error while loading shared lib
raries: libreadline.so.7: cannot open shared object file: No such file or directory
/cvmfs/sft.cern.ch/lcg/releases/R/4.3.0-df985/x86_64-el8-gcc11-opt/lib64/R/bin/exec/R: error while loading shared lib
raries: libreadline.so.7: cannot open shared object file: No such file or directory
/cvmfs/sft.cern.ch/lcg/releases/R/4.3.0-df985/x86_64-el8-gcc11-opt/lib64/R/bin/exec/R: error while loading shared lib
raries: libreadline.so.7: cannot open shared object file: No such file or directory
/cvmfs/sft.cern.ch/lcg/releases/R/4.3.0-df985/x86_64-el8-gcc11-opt/lib64/R/bin/exec/R: error while loading shared lib
raries: libreadline.so.7: cannot open shared object file: No such file or directory
gnuplot: error while loading shared libraries: libreadline.so.7: cannot open shared object file: No such file or dire
ctory

Can someone help with the issue?


Hi @Kumar_Yash,

Welcome to the ROOT Forum!

Could you provide a minimal reproducer so we can help you better?

Cheers,
Dev

Hey,
Can you please explain a little more what do you mean by minimal reproducer?

Try with:
source /cvmfs/sft.cern.ch/lcg/views/LCG_106/x86_64-el9-gcc13-opt/setup.sh

1 Like

@Wile_E_Coyote is right. the lxplus cluster runs EL9 by default and the envioronment of the corresponding stack has to be set :slight_smile:

Thank you so much. I have one more doubt. After I log in to the lxplus, source the LCG view, and at the time of condor job submission, I face the following error:

”Failed to load PySpark version file for packaging. You must be in Spark’s python dir.”

Though if I do not initialize any LCG environment and submit the jobs, I am easily able to submit them. The jobs give the output as required without any errors. Can you let me understand what might be happening?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.