Problem with liblzma.so.5 using root

Hi Rooters,

I have a bash script which basically compiles and runs in batch mode some methods in a macro called CreateHistogramFiles.C. Below is a part of the script which is important. When I try to execute this script giving the correct parameters, it keeps telling me that there is a missing library.

/afs/cern.ch/cms/slc5_amd64_gcc462/lcg/root/5.32.00-cms9/bin/root.exe: error while loading shared libraries: liblzma.so.5: cannot open shared object file: No such file or directory

But, when I execute exactly the same commands as in the script, but inside ROOT interpreter, it works perfectly fine.

What I did is also run ldd on CreateHistogramFiles_C.so and looked for the liblzma and here is what I found:

liblzma.so.5 => /afs/cern.ch/cms/slc5_amd64_gcc462/cms/cmssw-patch/CMSSW_5_3_2_patch4/external/slc5_amd64_gcc462/lib/liblzma.so.5 (0x00002b5573187000)

Can anyone help me with that ???

#!/bin/csh

set SAMPLE = $argv[1]
set SAMPLETYPE = $argv[2]
set MERGED = $argv[3]
set LUMI = $argv[4]
set JSON = $argv[5]

if (${SAMPLETYPE} == “data”) then
root -b<<!
.L CreateHistogramFiles.C+
CreateHistogramFiles("${SAMPLE}","${SAMPLETYPE}","${JSON}")
makeplots("${SAMPLE}","${LUMI}","${JSON}","${SAMPLETYPE}")
.q
!
endif

Hi Rooters,

I just would like to reiterate my question.
If anyone could provide help, that would be nice.

Thanks a lot.

Hi,

Are you able to also test with v5.34? If not, can you provide a complete running example showing the issue?

Thanks,
Philippe.