# ROOT 6.08/06 on Ubuntu 16.10 error "ERROR in cling::CIFactory::createCI(): cannot extract standard library include paths!"

**URL:** <https://root-forum.cern.ch/t/root-6-08-06-on-ubuntu-16-10-error-error-in-cling-cifactory-createci-cannot-extract-standard-library-include-paths/23958>\
**Category:** ROOT\
**Created:** [March 5, 2017, 8:57pm UTC](https://root-forum.cern.ch/t/root-6-08-06-on-ubuntu-16-10-error-error-in-cling-cifactory-createci-cannot-extract-standard-library-include-paths/23958 "2017-03-05T20:57:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wdbm](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/w/f17d59/32.png) [@wdbm](https://root-forum.cern.ch/u/wdbm)\
**Post date:** [March 5, 2017, 8:57pm UTC](https://root-forum.cern.ch/t/root-6-08-06-on-ubuntu-16-10-error-error-in-cling-cifactory-createci-cannot-extract-standard-library-include-paths/23958/1 "2017-03-05T20:57:57Z")

</div>

Hi there

I’m encountering an unfamiliar error when attempting to run ROOT 6.08/06. I’ve installed and compiled many versions of ROOT many times previously.

```auto
ERROR in cling::CIFactory::createCI(): cannot extract standard library include paths!
Invoking:
  LC_ALL=C g++-5 -O2 -DNDEBUG -xc++ -E -v /dev/null 2>&1 >/dev/null | awk '/^#include </,/^End of search/{if (!/^#include </ && !/^End of search/){ print }}' | GREP_OPTIONS= grep -E "(c|g)\+\+"
Results was:
With exit code 256
input_line_1:1:10: fatal error: file
      '/usr/lib/gcc/x86_64-linux-gnu/6.2.0/../../../../include/c++/6.2.0/new'
      modified since it was first processed
#include <new>
         ^
   ------------------------------------------------------------
  | Welcome to ROOT 6.08/06 http://root.cern.ch |
  | (c) 1995-2016, The ROOT Team |
  | Built for linuxx8664gcc |
  | From tag v6-08-06, 2 March 2017 |
  | Try '.help', '.demo', '.license', '.credits', '.quit'/'.q' |
   ------------------------------------------------------------

root [0]

```

Attempts to use ROOT in this state result in errors like the following:

```auto
root [0] new TBrowser
IncrementalExecutor::executeFunction: symbol '_ZN5cling7runtime6gClingE' unresolved while linking [cling interface function]!
You are probably missing the definition of cling::runtime::gCling
Maybe you need to load the corresponding shared library?

```

I’ve installed the required and optional prerequisites and am using precompiled ROOT root\_v6.08.06.Linux-ubuntu16-x86\_64-gcc5.4.tar.gz.

```auto
sudo apt-get -y install git
sudo apt-get -y install dpkg-dev
sudo apt-get -y install cmake
sudo apt-get -y install g++
sudo apt-get -y install gcc
sudo apt-get -y install binutils
sudo apt-get -y install libx11-dev
sudo apt-get -y install libxpm-dev
sudo apt-get -y install libxft-dev
sudo apt-get -y install libxext-dev

sudo apt-get -y install gfortran
sudo apt-get -y install libssl-dev
sudo apt-get -y install libpcre3-dev
sudo apt-get -y install xlibmesa-glu-dev
sudo apt-get -y install libglew1.5-dev
sudo apt-get -y install libftgl-dev
sudo apt-get -y install libmysqlclient-dev
sudo apt-get -y install libfftw3-dev
sudo apt-get -y install libcfitsio-dev
sudo apt-get -y install graphviz-dev
sudo apt-get -y install libavahi-compat-libdnssd-dev
sudo apt-get -y install libldap2-dev
sudo apt-get -y install python-dev
sudo apt-get -y install libxml2-dev
sudo apt-get -y install libkrb5-dev
sudo apt-get -y install libgsl0-dev
sudo apt-get -y install libqt4-dev

```

Would anyone have any ideas about what might be going wrong? Many thanks for any thoughts

---

<div class="post-metadata">

**Author:** ![Pepe\_Le\_Pew](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/pepe_le_pew/32/12365_2.png) [@Pepe\_Le\_Pew](https://root-forum.cern.ch/u/Pepe_Le_Pew)\
**Post date:** [March 6, 2017, 9:43am UTC](https://root-forum.cern.ch/t/root-6-08-06-on-ubuntu-16-10-error-error-in-cling-cifactory-createci-cannot-extract-standard-library-include-paths/23958/2 "2017-03-06T09:43:53Z")

</div>

You are trying to use binaries which seem to be built on a Ubuntu 16.04(.1?) LTS with gcc 5.4.0 on your Ubuntu 16.10 with gcc 6.2.0.  
I don’t think it will work.  
You need to build your ROOT from scratch (i.e. from the source code) yourself.

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [March 20, 2017, 9:44am UTC](https://root-forum.cern.ch/t/root-6-08-06-on-ubuntu-16-10-error-error-in-cling-cifactory-createci-cannot-extract-standard-library-include-paths/23958/3 "2017-03-20T09:44:08Z")

</div>

Closed on March 20, 2017, 9:44am UTC

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