diff -ur root-6.22.04.orig/bindings/pyroot/pythonizations/python/ROOT/__init__.py root-6.22.04/bindings/pyroot/pythonizations/python/ROOT/__init__.py
--- root-6.22.04.orig/bindings/pyroot/pythonizations/python/ROOT/__init__.py 2020-11-13 11:42:09.000000000 +0100
+++ root-6.22.04/bindings/pyroot/pythonizations/python/ROOT/__init__.py 2020-11-14 15:38:24.462463625 +0100
@@ -19,6 +19,12 @@
# Prevent cppyy from filtering ROOT libraries
environ['CPPYY_NO_ROOT_FILTER'] = '1'
+try:
+ from ctypes import cdll
+ libCore = cdll.LoadLibrary("libCore.so")
+except:
+ print("An exception occurred while loading libCore.so with ctypes")
+
import cppyy
if not 'ROOTSYS' in environ:
# Revert setting made by cppyy