[ 96%] Linking CXX shared library ../../lib/libPyROOT.so
CMakeFiles/PyROOT.dir/src/Converters.cxx.o: In function `PyROOT::TConverter::FromMemory(void*)':
Converters.cxx:(.text+0x27): undefined reference to `PyExc_TypeError'
Converters.cxx:(.text+0x36): undefined reference to `PyErr_SetString'
CMakeFiles/PyROOT.dir/src/Converters.cxx.o: In function `PyROOT::TConverter::ToMemory(_object*, void*)':
I am sorry but that won’t be an option. I am using a very strictly defined enviornment with >50 libraries locked into their versions. I must be able to use root from within this enviornment. I get conflicts when I install conda-forge root.
I have made some progress. I was able to build & install by using the location upto .so.m file, however when I import ROOT in python I get the following error:
Traceback (most recent call last):
File “”, line 1, in
File “/home/user/root_install/lib/ROOT/init.py”, line 31, in
importlib.import_module(librootpyz_mod_name)
File “/opt/anaconda3/envs/myenv/lib/python3.6/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: /opt/anaconda3/envs/myenv/bin/…/lib/libstdc++.so.6: version `CXXABI_1.3.11’ not found (required by /home/user/root_install/lib/libtbb.so.2)
In the past some problems have been reported when building ROOT with Anaconda’s Python. It seems that, to make it work, you need to compile ROOT with the same compiler that is shipped by Anaconda.
Another option is that you build ROOT with another Python that is not Anaconda’s.