ERROR in cling: cannot extract standard library include paths!

How can I find out what kind of compiler system I have?
(I am so sorry but It is my first time using Ubuntu etc)

sudo apt-get install gcc g++

Done!
So, gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0

So, try to run ROOT again.

1 Like

I think It is done because I can see ‘’ Welcome to root 6.20/02 […]etc’’

Thank you very very much!

Post the output of:
ldd ${ROOTSYS}/lib/*.so | grep "found" | sort -u

First execute:
source /path/to/root/bin/thisroot.sh
and then the “ldd ...” line (but please post the output as text).

You need at least (then try “ldd ...” again):
sudo apt-get install gfortran libblas-dev libcfitsio-dev

When I executed the first one:

bash: /path/to/root/bin/thisroot.sh: No such file or directory

(I want to notice that I have done the above:
gedit .bashrc
And then I add into the bash the follow:
export ROOTSYS=/home/elita/Programs/root
export PATH=$ROOTSYS/bin:$PATH
export LD_LIBRARY_PATH=$ROTSYS/lib/:$LD_LIBRARY_PARTH

Is that the problem?)

Post the output of:

sudo apt-get install gfortran libblas-dev libcfitsio-dev libcurl4-dev
source /home/elita/Programs/root/bin/thisroot.sh
ldd ${ROOTSYS}/lib/*.so | grep "found" | sort -u

For the first execute asked for a password, I put it and it did some things.
Then I continued with the next executions and the result is:
libcurl.so.4 => not found
libgslcblas.so.0 => not found
libgsl.so.23 => not found
liblhapdfdummy.so.8 => not found
libmysqlclient.so.20 => not found
libpq.so.5 => not found
libpythia.so.8 => not found

sudo apt-get install libcurl4-dev libgsl-dev libmysqlclient-dev libpq-dev libpythia8-dev

Reading package lists… Done
Building dependency tree
Reading state information… Done
Package libcurl4-dev is a virtual package provided by:
libcurl4-openssl-dev 7.58.0-2ubuntu3.8
libcurl4-nss-dev 7.58.0-2ubuntu3.8
libcurl4-gnutls-dev 7.58.0-2ubuntu3.8
You should explicitly select one to install.

E: Package ‘libcurl4-dev’ has no installation candidate

Try “libcurl4-openssl-dev” instead of “libcurl4-dev” (afterwards, “ldd ...” again, of course).

For the first It shows command not found

What “command” do you mean?

That’s exactly what it wrote for libcurl4-openssl-dev

libcurl4-openssl-dev: command not found

This is a name of a package which you need to install.

Once you install all these “missing” packages, try “ldd ...” again.

Just FYI, that’s not totally relevant: it’s perfectly fine to have ROOT libraries that are not used, with missing dependencies. They would only be loaded by the plug-in mechanism when needed by user code, at which point the dynamic linker would complain. I bet cfitsio, gfortran, possibly even blas might not be needed by @elitafa .

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