Problem installing root with conda

Hi all.

I am runing a computer with ubunut 20.04
I have the root 5 version installed in my computer and I wanted to install the root 6.26/02 conda version in a conda environment.

I created a new environment and installed conda with the command:
conda create -n myrootenv python=3.8.10 root -c conda-forge

When I activate the environment and use the command “root” I get the following error:

Fatal in <TROOT::InitInterpreter>: cannot load library /home/rgrau/root/lib/libRIO.so: undefined symbol: _ZN6TNamed11ShowMembersER16TMemberInspector

If I deactivate the environment, root 5 works fine, but I need root 6.

Does anyone know how to solve the problem?

Thank you.

ROOT Version: 6.26/02
Platform: Ubuntu 20.04
Compiler: Not Provided


Hello @Roger_Grau ,

and welcome to the ROOT forum. You should only have one ROOT installation in the environment at a time. When using ROOT 6 you should not have ROOT 5 activated.

Cheers,
Enrico

I’m surprised this gives you ROOT 6.26/02, I’d expect it to give you 6.26/06. Can you share the output of running:

conda activate myrootenv
conda info
conda list
env
root -l -b -q -e '1+1' -x

You are right I got 6.26/06. Here are the outputs:

rgrau@ThinkPad-L15:~$ conda activate myrootenv
(myrootenv) rgrau@ThinkPad-L15:~$ conda info

     active environment : myrootenv
    active env location : /home/rgrau/miniconda3/envs/myrootenv
            shell level : 1
       user config file : /home/rgrau/.condarc
 populated config files : /home/rgrau/.condarc
                          /home/rgrau/miniconda3/envs/myrootenv/.condarc
          conda version : 4.14.0
    conda-build version : not installed
         python version : 3.9.5.final.0
       virtual packages : __linux=5.14.0=0
                          __glibc=2.31=0
                          __unix=0=0
                          __archspec=1=x86_64
       base environment : /home/rgrau/miniconda3  (writable)
      conda av data dir : /home/rgrau/miniconda3/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /home/rgrau/miniconda3/pkgs
                          /home/rgrau/.conda/pkgs
       envs directories : /home/rgrau/miniconda3/envs
                          /home/rgrau/.conda/envs
               platform : linux-64
             user-agent : conda/4.14.0 requests/2.28.1 CPython/3.9.5 Linux/5.14.0-1051-oem ubuntu/20.04.5 glibc/2.31
                UID:GID : 1001:1001
             netrc file : None
           offline mode : False

(myrootenv) rgrau@ThinkPad-L15:~$ conda list
# packages in environment at /home/rgrau/miniconda3/envs/myrootenv:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       2_gnu    conda-forge
_sysroot_linux-64_curr_repodata_hack 3                   h5bd9786_13    conda-forge
afterimage                1.21              ha9998ff_1003    conda-forge
argon2-cffi               21.3.0             pyhd8ed1ab_0    conda-forge
argon2-cffi-bindings      21.2.0           py38h0a891b7_2    conda-forge
asttokens                 2.0.8              pyhd8ed1ab_0    conda-forge
atk-1.0                   2.36.0               h3371d22_4    conda-forge
attrs                     22.1.0             pyh71513ae_1    conda-forge
backcall                  0.2.0              pyh9f0ad1d_0    conda-forge
backports                 1.0                        py_2    conda-forge
backports.functools_lru_cache 1.6.4              pyhd8ed1ab_0    conda-forge
beautifulsoup4            4.11.1             pyha770c72_0    conda-forge
binutils                  2.36.1               hdd6e379_2    conda-forge
binutils_impl_linux-64    2.36.1               h193b22a_2    conda-forge
binutils_linux-64         2.36                hf3e587d_10    conda-forge
bleach                    5.0.1              pyhd8ed1ab_0    conda-forge
bzip2                     1.0.8                h7f98852_4    conda-forge
c-ares                    1.18.1               h7f98852_0    conda-forge
c-compiler                1.5.0                h166bdaf_0    conda-forge
ca-certificates           2022.6.15            ha878542_0    conda-forge
cairo                     1.16.0            ha61ee94_1013    conda-forge
cffi                      1.15.1           py38h4a40e3a_0    conda-forge
cfitsio                   4.1.0                hd9d235c_0    conda-forge
colorama                  0.4.5              pyhd8ed1ab_0    conda-forge
compilers                 1.5.0                ha770c72_0    conda-forge
cxx-compiler              1.5.0                h924138e_0    conda-forge
davix                     0.8.2                h2122014_0    conda-forge
debugpy                   1.6.3            py38hfa26641_0    conda-forge
decorator                 5.1.1              pyhd8ed1ab_0    conda-forge
defusedxml                0.7.1              pyhd8ed1ab_0    conda-forge
entrypoints               0.4                pyhd8ed1ab_0    conda-forge
executing                 1.0.0              pyhd8ed1ab_0    conda-forge
expat                     2.4.8                h27087fc_0    conda-forge
fftw                      3.3.10          nompi_hf0379b8_105    conda-forge
flit-core                 3.7.1              pyhd8ed1ab_0    conda-forge
font-ttf-dejavu-sans-mono 2.37                 hab24e00_0    conda-forge
font-ttf-inconsolata      3.000                h77eed37_0    conda-forge
font-ttf-source-code-pro  2.038                h77eed37_0    conda-forge
font-ttf-ubuntu           0.83                 hab24e00_0    conda-forge
fontconfig                2.14.0               h8e229c2_0    conda-forge
fonts-conda-ecosystem     1                             0    conda-forge
fonts-conda-forge         1                             0    conda-forge
fortran-compiler          1.5.0                h2a4ca65_0    conda-forge
freetype                  2.12.1               hca18f0e_0    conda-forge
fribidi                   1.0.10               h36c2ea0_0    conda-forge
ftgl                      2.4.0                hbcb1f35_0    conda-forge
gcc                       10.3.0              he2824d0_10    conda-forge
gcc_impl_linux-64         10.3.0              hf2f2afa_16    conda-forge
gcc_linux-64              10.3.0              hc39de41_10    conda-forge
gdk-pixbuf                2.42.8               hff1cb4f_0    conda-forge
gettext                   0.19.8.1          h73d1719_1008    conda-forge
gfortran                  10.3.0              h18518b4_10    conda-forge
gfortran_impl_linux-64    10.3.0              h73f4979_16    conda-forge
gfortran_linux-64         10.3.0              hb09a455_10    conda-forge
giflib                    5.2.1                h36c2ea0_2    conda-forge
gl2ps                     1.4.2                h0708190_0    conda-forge
glew                      2.1.0                h9c3ff4c_2    conda-forge
graphite2                 1.3.13            h58526e2_1001    conda-forge
graphviz                  5.0.1                h5abf519_0    conda-forge
gsl                       2.7                  he838d99_0    conda-forge
gsoap                     2.8.119              h90a1d37_0    conda-forge
gtk2                      2.24.33              h90689f9_2    conda-forge
gts                       0.7.6                h64030ff_2    conda-forge
gxx                       10.3.0              he2824d0_10    conda-forge
gxx_impl_linux-64         10.3.0              hf2f2afa_16    conda-forge
gxx_linux-64              10.3.0              h2593f52_10    conda-forge
harfbuzz                  5.1.0                hf9f4e7c_0    conda-forge
icu                       70.1                 h27087fc_0    conda-forge
importlib-metadata        4.11.4           py38h578d9bd_0    conda-forge
importlib_resources       5.9.0              pyhd8ed1ab_0    conda-forge
ipykernel                 6.15.2             pyh210e3f2_0    conda-forge
ipyparallel               8.4.1              pyhd8ed1ab_0    conda-forge
ipython                   8.5.0              pyh41d4057_1    conda-forge
ipython_genutils          0.2.0                      py_1    conda-forge
jedi                      0.18.1             pyhd8ed1ab_2    conda-forge
jinja2                    3.1.2              pyhd8ed1ab_1    conda-forge
jpeg                      9e                   h166bdaf_2    conda-forge
jsonschema                4.15.0             pyhd8ed1ab_0    conda-forge
jupyter_client            7.3.5              pyhd8ed1ab_0    conda-forge
jupyter_core              4.11.1           py38h578d9bd_0    conda-forge
jupyterlab_pygments       0.2.2              pyhd8ed1ab_0    conda-forge
kernel-headers_linux-64   3.10.0              h4a8ded7_13    conda-forge
keyutils                  1.6.1                h166bdaf_0    conda-forge
krb5                      1.19.3               h3790be6_0    conda-forge
ld_impl_linux-64          2.36.1               hea4e1c9_2    conda-forge
lerc                      4.0.0                h27087fc_0    conda-forge
libblas                   3.9.0           16_linux64_openblas    conda-forge
libcblas                  3.9.0           16_linux64_openblas    conda-forge
libcurl                   7.83.1               h7bff187_0    conda-forge
libcxx                    14.0.6               hf52228f_0    conda-forge
libcxxabi                 14.0.6               ha770c72_0    conda-forge
libdeflate                1.13                 h166bdaf_0    conda-forge
libedit                   3.1.20191231         he28a2e2_2    conda-forge
libev                     4.33                 h516909a_1    conda-forge
libffi                    3.4.2                h7f98852_5    conda-forge
libgcc-devel_linux-64     10.3.0              he6cfe16_16    conda-forge
libgcc-ng                 12.1.0              h8d9b700_16    conda-forge
libgd                     2.3.3                h18fbbfe_3    conda-forge
libgfortran-ng            12.1.0              h69a702a_16    conda-forge
libgfortran5              12.1.0              hdcd56e2_16    conda-forge
libglib                   2.72.1               h2d90d5f_0    conda-forge
libglu                    9.0.0             he1b5a44_1001    conda-forge
libgomp                   12.1.0              h8d9b700_16    conda-forge
libiconv                  1.16                 h516909a_0    conda-forge
liblapack                 3.9.0           16_linux64_openblas    conda-forge
libllvm11                 11.1.0               hf817b99_3    conda-forge
libllvm9                  9.0.1           default_hc23dcda_7    conda-forge
libnghttp2                1.47.0               hdcd2b5c_1    conda-forge
libopenblas               0.3.21          pthreads_h78a6416_3    conda-forge
libpng                    1.6.37               h753d276_4    conda-forge
librsvg                   2.54.4               h7abd40a_0    conda-forge
libsanitizer              10.3.0              h26c7422_16    conda-forge
libsodium                 1.0.18               h36c2ea0_1    conda-forge
libsqlite                 3.39.3               h753d276_0    conda-forge
libssh2                   1.10.0               haa6b8db_3    conda-forge
libstdcxx-devel_linux-64  10.3.0              he6cfe16_16    conda-forge
libstdcxx-ng              12.1.0              ha89aaad_16    conda-forge
libtiff                   4.4.0                h0e0dad5_3    conda-forge
libtool                   2.4.6             h9c3ff4c_1008    conda-forge
libuuid                   2.32.1            h7f98852_1000    conda-forge
libwebp                   1.2.4                h522a892_0    conda-forge
libwebp-base              1.2.4                h166bdaf_0    conda-forge
libxcb                    1.13              h7f98852_1004    conda-forge
libxml2                   2.9.14               h22db469_4    conda-forge
libxslt                   1.1.35               h8affb1d_0    conda-forge
libzlib                   1.2.12               h166bdaf_2    conda-forge
llvmlite                  0.38.1           py38h38d86a4_0    conda-forge
lxml                      4.9.1            py38h0a891b7_0    conda-forge
lz4-c                     1.9.3                h9c3ff4c_1    conda-forge
markupsafe                2.1.1            py38h0a891b7_1    conda-forge
matplotlib-inline         0.1.6              pyhd8ed1ab_0    conda-forge
metakernel                0.29.2             pyhd8ed1ab_0    conda-forge
mistune                   2.0.4              pyhd8ed1ab_0    conda-forge
nbclient                  0.6.7              pyhd8ed1ab_0    conda-forge
nbconvert                 7.0.0              pyhd8ed1ab_0    conda-forge
nbconvert-core            7.0.0              pyhd8ed1ab_0    conda-forge
nbconvert-pandoc          7.0.0              pyhd8ed1ab_0    conda-forge
nbformat                  5.4.0              pyhd8ed1ab_0    conda-forge
ncurses                   6.3                  h27087fc_1    conda-forge
nest-asyncio              1.5.5              pyhd8ed1ab_0    conda-forge
nlohmann_json             3.10.5               h27087fc_1    conda-forge
notebook                  6.4.12             pyha770c72_0    conda-forge
numba                     0.55.2           py38hdc3674a_0    conda-forge
numpy                     1.22.4           py38h99721a1_0    conda-forge
openssl                   1.1.1q               h166bdaf_0    conda-forge
packaging                 21.3               pyhd8ed1ab_0    conda-forge
pandoc                    2.19.2               ha770c72_0    conda-forge
pandocfilters             1.5.0              pyhd8ed1ab_0    conda-forge
pango                     1.50.9               hc4f8a73_0    conda-forge
parso                     0.8.3              pyhd8ed1ab_0    conda-forge
pcre                      8.45                 h9c3ff4c_0    conda-forge
pexpect                   4.8.0              pyh9f0ad1d_2    conda-forge
pickleshare               0.7.5                   py_1003    conda-forge
pip                       22.2.2             pyhd8ed1ab_0    conda-forge
pixman                    0.40.0               h36c2ea0_0    conda-forge
pkgutil-resolve-name      1.3.10             pyhd8ed1ab_0    conda-forge
portalocker               2.5.1            py38h578d9bd_0    conda-forge
prometheus_client         0.14.1             pyhd8ed1ab_0    conda-forge
prompt-toolkit            3.0.31             pyha770c72_0    conda-forge
psutil                    5.9.2            py38h0a891b7_0    conda-forge
pthread-stubs             0.4               h36c2ea0_1001    conda-forge
ptyprocess                0.7.0              pyhd3deb0d_0    conda-forge
pure_eval                 0.2.2              pyhd8ed1ab_0    conda-forge
pycparser                 2.21               pyhd8ed1ab_0    conda-forge
pygments                  2.13.0             pyhd8ed1ab_0    conda-forge
pyparsing                 3.0.9              pyhd8ed1ab_0    conda-forge
pyrsistent                0.18.1           py38h0a891b7_1    conda-forge
pythia8                   8.305            py38h709712a_0    conda-forge
python                    3.8.10          hb7a2778_2_cpython    conda-forge
python-dateutil           2.8.2              pyhd8ed1ab_0    conda-forge
python-fastjsonschema     2.16.1             pyhd8ed1ab_0    conda-forge
python_abi                3.8                      2_cp38    conda-forge
pyzmq                     23.2.1           py38hfc09fa9_0    conda-forge
readline                  8.1.2                h0f457ee_0    conda-forge
root                      6.26.6           py38h2c36dcf_0    conda-forge
root_base                 6.26.6           py38h259b632_0    conda-forge
scitokens-cpp             0.7.1                h0255ffa_0    conda-forge
send2trash                1.8.0              pyhd8ed1ab_0    conda-forge
setuptools                65.3.0             pyhd8ed1ab_1    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
soupsieve                 2.3.2.post1        pyhd8ed1ab_0    conda-forge
sqlite                    3.39.3               h4ff8645_0    conda-forge
stack_data                0.5.0              pyhd8ed1ab_0    conda-forge
sysroot_linux-64          2.17                h4a8ded7_13    conda-forge
tbb                       2021.5.0             h924138e_2    conda-forge
terminado                 0.15.0           py38h578d9bd_0    conda-forge
tinycss2                  1.1.1              pyhd8ed1ab_0    conda-forge
tk                        8.6.12               h27826a3_0    conda-forge
tornado                   6.2              py38h0a891b7_0    conda-forge
tqdm                      4.64.1             pyhd8ed1ab_0    conda-forge
traitlets                 5.3.0              pyhd8ed1ab_0    conda-forge
vdt                       0.4.3                h9c3ff4c_0    conda-forge
vector-classes            1.4.3                h924138e_0    conda-forge
wcwidth                   0.2.5              pyh9f0ad1d_2    conda-forge
webencodings              0.5.1                      py_1    conda-forge
wheel                     0.37.1             pyhd8ed1ab_0    conda-forge
xorg-fixesproto           5.0               h7f98852_1002    conda-forge
xorg-kbproto              1.0.7             h7f98852_1002    conda-forge
xorg-libice               1.0.10               h7f98852_0    conda-forge
xorg-libsm                1.2.3             hd9c2040_1000    conda-forge
xorg-libx11               1.6.12               h36c2ea0_0    conda-forge
xorg-libxau               1.0.9                h7f98852_0    conda-forge
xorg-libxcursor           1.2.0                h516909a_0    conda-forge
xorg-libxdmcp             1.1.3                h7f98852_0    conda-forge
xorg-libxext              1.3.4                h516909a_0    conda-forge
xorg-libxfixes            5.0.3             h516909a_1004    conda-forge
xorg-libxft               2.3.4                hc534e41_1    conda-forge
xorg-libxpm               3.5.13               h516909a_0    conda-forge
xorg-libxrender           0.9.10            h516909a_1002    conda-forge
xorg-libxt                1.1.5             h516909a_1003    conda-forge
xorg-renderproto          0.11.1            h7f98852_1002    conda-forge
xorg-xextproto            7.3.0             h7f98852_1002    conda-forge
xorg-xproto               7.0.31            h7f98852_1007    conda-forge
xrootd                    5.4.3            py38h92bdfd5_1    conda-forge
xxhash                    0.8.0                h7f98852_3    conda-forge
xz                        5.2.6                h166bdaf_0    conda-forge
zeromq                    4.3.4                h9c3ff4c_1    conda-forge
zipp                      3.8.1              pyhd8ed1ab_0    conda-forge
zlib                      1.2.12               h166bdaf_2    conda-forge
zstd                      1.5.2                h6239696_4    conda-forge
(myrootenv) rgrau@ThinkPad-L15:~$ env
SHELL=/bin/bash
DEBUG_FFLAGS=-march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/rgrau/miniconda3/envs/myrootenv/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-all -fno-plt -Og -g -Wall -Wextra -fcheck=all -fbacktrace -fimplicit-none -fvar-tracking-assignments -ffunction-sections -pipe
SESSION_MANAGER=local/ThinkPad-L15:@/tmp/.ICE-unix/1915,unix/ThinkPad-L15:/tmp/.ICE-unix/1915
QT_ACCESSIBILITY=1
COLORTERM=truecolor
GCC_RANLIB=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-gcc-ranlib
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
XDG_MENU_PREFIX=gnome-
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
CONDA_EXE=/home/rgrau/miniconda3/bin/conda
_CE_M=
build_alias=x86_64-conda-linux-gnu
CMAKE_ARGS=-DCMAKE_AR=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-ar -DCMAKE_CXX_COMPILER_AR=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-gcc-ar -DCMAKE_C_COMPILER_AR=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-gcc-ar -DCMAKE_RANLIB=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-ranlib -DCMAKE_CXX_COMPILER_RANLIB=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-gcc-ranlib -DCMAKE_C_COMPILER_RANLIB=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-gcc-ranlib -DCMAKE_LINKER=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-ld -DCMAKE_STRIP=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-strip
GPROF=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-gprof
LC_ADDRESS=es_ES.UTF-8
CONDA_TOOLCHAIN_BUILD=x86_64-conda-linux-gnu
GNOME_SHELL_SESSION_MODE=ubuntu
_CONDA_PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata_x86_64_conda_cos6_linux_gnu
LC_NAME=es_ES.UTF-8
SSH_AUTH_SOCK=/run/user/1001/keyring/ssh
STRINGS=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-strings
CPP=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-cpp
PYTHIA8DATA=/home/rgrau/miniconda3/envs/myrootenv/share/Pythia8/xmldoc
XMODIFIERS=@im=ibus
DESKTOP_SESSION=ubuntu
LC_MONETARY=es_ES.UTF-8
SSH_AGENT_PID=1859
FFLAGS=-march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/rgrau/miniconda3/envs/myrootenv/include
GTK_MODULES=gail:atk-bridge
PWD=/home/rgrau
MARSSYS=/home/rgrau/Mars-V2-20-0_old
GSETTINGS_SCHEMA_DIR=/home/rgrau/miniconda3/envs/myrootenv/share/glib-2.0/schemas
LOGNAME=rgrau
XDG_SESSION_DESKTOP=ubuntu
XDG_SESSION_TYPE=x11
CONDA_PREFIX=/home/rgrau/miniconda3/envs/myrootenv
PYTHIA8=/home/rgrau/miniconda3/envs/myrootenv
GPG_AGENT_INFO=/run/user/1001/gnupg/S.gpg-agent:0:1
GSETTINGS_SCHEMA_DIR_CONDA_BACKUP=
CXX=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-c++
CXXFLAGS=-fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/rgrau/miniconda3/envs/myrootenv/include
XAUTHORITY=/run/user/1001/gdm/Xauthority
CONDA_TOOLCHAIN_HOST=x86_64-conda-linux-gnu
CONDA_BACKUP_ROOTSYS=/home/rgrau/root
DEBUG_CXXFLAGS=-fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-all -fno-plt -Og -g -Wall -Wextra -fvar-tracking-assignments -ffunction-sections -pipe -isystem /home/rgrau/miniconda3/envs/myrootenv/include
WINDOWPATH=2
LDFLAGS=-Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,--allow-shlib-undefined -Wl,-rpath,/home/rgrau/miniconda3/envs/myrootenv/lib -Wl,-rpath-link,/home/rgrau/miniconda3/envs/myrootenv/lib -L/home/rgrau/miniconda3/envs/myrootenv/lib
HOME=/home/rgrau
USERNAME=rgrau
IM_CONFIG_PHASE=1
LC_PAPER=es_ES.UTF-8
LANG=en_US.UTF-8
DEBUG_CFLAGS=-march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-all -fno-plt -Og -g -Wall -Wextra -fvar-tracking-assignments -ffunction-sections -pipe -isystem /home/rgrau/miniconda3/envs/myrootenv/include
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
XDG_CURRENT_DESKTOP=ubuntu:GNOME
VTE_VERSION=6003
CXX_FOR_BUILD=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-c++
OSTYPE=linux-gnu
ELFEDIT=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-elfedit
CONDA_PROMPT_MODIFIER=(myrootenv) 
CMAKE_PREFIX_PATH=/home/rgrau/miniconda3/envs/myrootenv:/home/rgrau/miniconda3/envs/myrootenv/x86_64-conda-linux-gnu/sysroot/usr
GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/6f534046_74a8_403c_a464_b22ed5015748
CPPFLAGS=-DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/rgrau/miniconda3/envs/myrootenv/include
LD=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-ld
INVOCATION_ID=4f6ce2f571924559b933a4d9543ff2d8
MANAGERPID=1662
READELF=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-readelf
GXX=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-g++
FC_FOR_BUILD=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-gfortran
GCC_AR=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-gcc-ar
LESSCLOSE=/usr/bin/lesspipe %s %s
ADDR2LINE=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-addr2line
XDG_SESSION_CLASS=user
TERM=xterm-256color
LC_IDENTIFICATION=es_ES.UTF-8
_CE_CONDA=
GCC_NM=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-gcc-nm
SIZE=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-size
F77=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-gfortran
HOST=x86_64-conda-linux-gnu
LESSOPEN=| /usr/bin/lesspipe %s
CC_FOR_BUILD=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-cc
USER=rgrau
GNOME_TERMINAL_SERVICE=:1.101
CONDA_SHLVL=1
AR=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-ar
AS=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-as
DEBUG_CPPFLAGS=-D_DEBUG -D_FORTIFY_SOURCE=2 -Og -isystem /home/rgrau/miniconda3/envs/myrootenv/include
F95=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-f95
F90=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-gfortran
host_alias=x86_64-conda-linux-gnu
DISPLAY=:0
SHLVL=1
NM=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-nm
GCC=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-gcc
DEBUG_FORTRANFLAGS=-march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/rgrau/miniconda3/envs/myrootenv/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-all -fno-plt -Og -g -Wall -Wextra -fcheck=all -fbacktrace -fimplicit-none -fvar-tracking-assignments -ffunction-sections -pipe
LC_TELEPHONE=es_ES.UTF-8
FORTRANFLAGS=-march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/rgrau/miniconda3/envs/myrootenv/include
QT_IM_MODULE=ibus
LC_MEASUREMENT=es_ES.UTF-8
ROOTSYS=/home/rgrau/miniconda3/envs/myrootenv
LD_GOLD=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-ld.gold
CONDA_PYTHON_EXE=/home/rgrau/miniconda3/bin/python
LD_LIBRARY_PATH=/home/rgrau/root/lib:/home/rgrau/Mars-V2-20-0_old::/home/rgrau/gsl-1.16/lib
XDG_RUNTIME_DIR=/run/user/1001
GFORTRAN=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-gfortran
CONDA_DEFAULT_ENV=myrootenv
OBJCOPY=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-objcopy
LC_TIME=es_ES.UTF-8
FC=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-gfortran
STRIP=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-strip
JOURNAL_STREAM=8:54667
XDG_DATA_DIRS=/usr/share/ubuntu:/home/rgrau/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
OBJDUMP=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-objdump
PATH=/home/rgrau/miniconda3/envs/myrootenv/bin:/home/rgrau/miniconda3/condabin:/home/rgrau/root/bin:/home/rgrau/Mars-V2-20-0_old:/home/rgrau/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/rgrau/gsl/bin
CC=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-cc
GDMSESSION=ubuntu
CFLAGS=-march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/rgrau/miniconda3/envs/myrootenv/include
CXXFILT=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-c++filt
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus
C_INCLUDE_PATH=:/home/rgrau/gsl-1.16/include
BUILD=x86_64-conda-linux-gnu
PYTHIA8_DIR=/home/rgrau/miniconda3/envs/myrootenv
RANLIB=/home/rgrau/miniconda3/envs/myrootenv/bin/x86_64-conda-linux-gnu-ranlib
CONDA_BUILD_SYSROOT=/home/rgrau/miniconda3/envs/myrootenv/x86_64-conda-linux-gnu/sysroot
LC_NUMERIC=es_ES.UTF-8
_=/usr/bin/env
(myrootenv) rgrau@ThinkPad-L15:~$ root -l -b -q -e '1+1' -x
Fatal in <TROOT::InitInterpreter>: cannot load library /home/rgrau/root/lib/libRIO.so: undefined symbol: _ZN6TNamed11ShowMembersER16TMemberInspector

Hello @eguiraud,

the installation of root 5 is in the computer, outside any conda environment. I don’t know how to deactivate root 5 when activating the conda environment.

Thank you

I suspect you’ve sourced /home/rgrau/root/bin/thisroot.sh somewhere. (perhaps in your bashrc?)

Does unset LD_LIBRARY_PATH help?

1 Like

It did help and its working now, thank you

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