Missing libraries reported by cmake on root 6.22/0


upgraded from 6.20/06 to 6.22/00 on CC7 (see details at the end). While compiling my code I got several warnings from cmake on missing libraries, warning message being typically:

CMake Warning at /usr/share/root/cmake/ROOTConfig-targets.cmake:1229 (message):
  The imported target "ROOT::ROOTPythonizations3_6" references the file


  but this file does not exist.  If this target is used you need to install
  the package that provides this file

     yum install /usr/lib64/root/libROOTPythonizations3_6.so.6.22.00

  If this target is not used this warning can be ignored.
Call Stack (most recent call first):
  /usr/share/root/cmake/ROOTConfig.cmake:98 (include)
  CMakeLists.txt:57 (find_package)

However can’t install the library via yum:

$ yum install /usr/lib64/root/libROOTPythonizations3_6.so.6.22.00
Loaded plugins: auto-update-debuginfo, fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: linuxsoft.cern.ch
 * epel: mirror.in2p3.fr
 * epel-debuginfo: mirror.in2p3.fr
 * extras: linuxsoft.cern.ch
 * updates: linuxsoft.cern.ch
No package /usr/lib64/root/libROOTPythonizations3_6.so.6.22.00 available.
Error: Nothing to do

Same warning also applies to


Is there any specific yum repository I need to add ?


ROOT Version: 6.22/00
Platform: Centos 7
Compiler: gcc 4.8.5 20150623 (Red Hat 4.8.5-39)


Where did you get /usr/bin/root from - EPEL? Or did you build this yourself?

Cheers, Axel.

Yes, from epel via automatic system update:

$ repoquery -i root

Name        : root
Version     : 6.22.00
Release     : 2.el7
Architecture: x86_64
Size        : 228401
Packager    : Fedora Project
Group       : Unspecified
URL         : https://root.cern/
Repository  : epel
Summary     : Numerical data analysis framework
Source      : root-6.22.00-2.el7.src.rpm

However, I tried again after downloading the same version 6.22.0 from the ROOT site and installing in a custom user directory and got no warnings from cmake.

In all cases I would like to be able to install those libraries to suppress the warnings.

Do you know from which yum repository I may able to fetch them ?

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

I suppose there is a pyroot package that’s missing?