Cannot find -lPyROOT

Hello, I am trying to set up a repository that was used in the pass for a CMSSW_13_0_X release.
The github repository is:

https://github.com/UHH2/SFrame.git

In CMSSW_13 there is no python version lower than version 3, so, I am compiling the repository and changing what is needed to be able to use it with python3 (because the repository was developed using python2).

The problem is that at one point make command complains due to cannot find -lPyROOT.
How could I solve this? Is it better to try to create a virtual environment with python2?

Here is the error:

[cmunozdi@lxplus950 SFrame]$ make
(cd core; make)
make[1]: Entering directory '/afs/cern.ch/user/c/cmunozdi/CMSSW_13_0_8/src/SFrame/core'
Using /cvmfs/cms.cern.ch/el9_amd64_gcc11/cms/cmssw/CMSSW_13_0_8/external/el9_amd64_gcc11/bin/../../../../../../../el9_amd64_gcc11/lcg/root/6.26.11-a931eb5f206ceca777958cf9f4442b77/etc/Makefile.arch
Linking  /afs/cern.ch/user/c/cmunozdi/CMSSW_13_0_8/src/SFrame/bin/sframe_main
/cvmfs/cms.cern.ch/el9_amd64_gcc11/external/gcc/11.2.1-f9b9dfdd886f71cd63f5538223d8f161/bin/../lib/gcc/x86_64-redhat-linux-gnu/11.2.1/../../../../x86_64-redhat-linux-gnu/bin/ld: cannot find -lPyROOT
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:36: /afs/cern.ch/user/c/cmunozdi/CMSSW_13_0_8/src/SFrame/bin/sframe_main] Error 1
make[1]: Leaving directory '/afs/cern.ch/user/c/cmunozdi/CMSSW_13_0_8/src/SFrame/core'
make: *** [Makefile:17: core] Error 2

Thank you in advance.

Hi Conrado,

After reading your post, I think this is more of a question for CMS Software experts. Did you perhaps try to submit it to the https://cms-talk.web.cern.ch/ forum?

Best,
D

Thank you, I will do it.

1 Like