This isn't an error, but the warning message
libtinfo.so.6: no version information available (required by bash)
is shown when $CONDA_PREFIX/lib is defined as
export LD_LIBRARY_PATH=$CONDA_PREFIX/lib:$LD_LIBRARY_PATH
In my case, libtinfo.so.6 is in /usr/lib/x86_64-linux-gnu/. So, if /usr/lib/x86_64-linux-gnu/ is placed before $CONDA_PREFIX/lib, the warning message doesn't appear.
Ref.
rstudio/rstudio#8278