# Cannot find -lPyROOT

**URL:** <https://root-forum.cern.ch/t/cannot-find-lpyroot/62468>\
**Category:** Newbie\
**Created:** [December 13, 2024, 5:13pm UTC](https://root-forum.cern.ch/t/cannot-find-lpyroot/62468 "2024-12-13T17:13:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![conrado99](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/conrado99/32/30032_2.png) [@conrado99](https://root-forum.cern.ch/u/conrado99)\
**Post date:** [December 13, 2024, 5:13pm UTC](https://root-forum.cern.ch/t/cannot-find-lpyroot/62468/1 "2024-12-13T17:13:36Z")

</div>

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:

```auto
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:

```bash
[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.

---

<div class="post-metadata">

**Author:** ![Danilo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/danilo/32/34528_2.png) [@Danilo](https://root-forum.cern.ch/u/Danilo)\
**Post date:** [December 13, 2024, 6:39pm UTC](https://root-forum.cern.ch/t/cannot-find-lpyroot/62468/2 "2024-12-13T18:39:46Z")

</div>

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/](https://cms-talk.web.cern.ch/) forum?

Best,  
D

---

<div class="post-metadata">

**Author:** ![conrado99](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/conrado99/32/30032_2.png) [@conrado99](https://root-forum.cern.ch/u/conrado99)\
**Post date:** [December 16, 2024, 8:32am UTC](https://root-forum.cern.ch/t/cannot-find-lpyroot/62468/3 "2024-12-16T08:32:03Z")

</div>

Thank you, I will do it.
