Hello everyone,
I recently installed root_v6.26.02 on my lenovo ideapad 5 from the root’s website. There I followed the installation procedure as written in the installation website:
Install all [required dependencies] with the system package manager
[Download the release] for the desired platform and ROOT version
Unpack the archive
Add the ROOT libraries and executables to your environment by sourcing the appropriate thisroot.* script. These setup scripts can be found in the ROOT binary release, in the bin directory.
And i typed in terminal the following commands as written in the website:
$ wget https://root.cern/download/root_v6.24.02.Linux-ubuntu20-x86_64-gcc9.3.tar.gz
$ tar -xzvf root_v6.24.02.Linux-ubuntu20-x86_64-gcc9.3.tar.gz
$ source thisroot.{csh,fish,bat}
When I now run root I get this error:
-bash: /home/kostas/Desktop/root/bin/thisroot.csh: line 17: syntax error near unexpected token `('
-bash: /home/kostas/Desktop/root/bin/thisroot.csh: line 17: `set ARGS=($_)'
I doubt the .csh file actually has a syntax error since I didn’t touch it, what am I doing wrong?
Thanks in advance.
ERROR in cling::CIFactory::createCI(): cannot extract standard library include paths!
Invoking:
LC_ALL=C x86_64-linux-gnu-g++-9 -xc++ -E -v /dev/null 2>&1 | sed -n -e '/^.include/,${' -e '/^ \/.*++/p' -e '}'
Results was:
With exit code 0
------------------------------------------------------------------
| Welcome to ROOT 6.24/02 https://root.cern |
| (c) 1995-2021, The ROOT Team; conception: R. Brun, F. Rademakers |
| Built for linuxx8664gcc on Jun 28 2021, 09:28:51 |
| From tags/v6-24-02@v6-24-02 |
| With |
| Try '.help', '.demo', '.license', '.credits', '.quit'/'.q' |
------------------------------------------------------------------
cling::DynamicLibraryManager::loadLibrary(): libssl.so.1.1: cannot open shared object file: No such file or directory
root [0]
I installed the new root binary distribution root_v6.26.04.Linux-ubuntu22-x86_64-gcc11.2.tar.gz and followed the same steps on installation guide. Then i used only source thisroot.sh command as you told me , i executed root and i got this error:
ERROR in cling::CIFactory::createCI(): cannot extract standard library include paths!
Invoking:
LC_ALL=C x86_64-linux-gnu-g++-9 -xc++ -E -v /dev/null 2>&1 | sed -n -e '/^.include/,${' -e '/^ \/.*++/p' -e '}'
Results was:
With exit code 0
------------------------------------------------------------------
| Welcome to ROOT 6.24/02 https://root.cern |
| (c) 1995-2021, The ROOT Team; conception: R. Brun, F. Rademakers |
| Built for linuxx8664gcc on Jun 28 2021, 09:28:51 |
| From tags/v6-24-02@v6-24-02 |
| With |
| Try '.help', '.demo', '.license', '.credits', '.quit'/'.q' |
------------------------------------------------------------------
cling::DynamicLibraryManager::loadLibrary(): libssl.so.1.1: cannot open shared object file: No such file or directory
root [0]
I would like to thank everyone for their responses. The problem is solved. I installed the newest ROOT distribution for Ubuntu as Wile_E_Coyote advised me to and the problem was solved.