How to fix “recipe for target ‘lib/libPyROOT.so’ failed”

ROOT Version: 6.14.04
Platform: Ubuntu 18
Compiler: Not Provided

Hey there, I’ve been trying to get PyROOT to work for a while now and this last time I tried building from the source with cmake, but I got this error after running the “cmake --build .” command. Is there a way I could fix this?

Hi @duongtn34,

Just to make sure, you are following the instructions to build ROOT that are specified here?

https://root.cern.ch/building-root

Is the python option activated when you build ROOT?

Does the error say anything else about why libPyROOT.so cannot be built?

Enric