# Problem with error: entry with relative path at the root level is not discoverable

**URL:** <https://root-forum.cern.ch/t/problem-with-error-entry-with-relative-path-at-the-root-level-is-not-discoverable/54971>\
**Category:** Newbie\
**Created:** [May 21, 2023, 1:29pm UTC](https://root-forum.cern.ch/t/problem-with-error-entry-with-relative-path-at-the-root-level-is-not-discoverable/54971 "2023-05-21T13:29:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![user1234](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/u/47e85d/32.png) [@user1234](https://root-forum.cern.ch/u/user1234)\
**Post date:** [May 21, 2023, 1:29pm UTC](https://root-forum.cern.ch/t/problem-with-error-entry-with-relative-path-at-the-root-level-is-not-discoverable/54971/1 "2023-05-21T13:29:56Z")

</div>

Hello,

I am very new to Root and C++ so any help would be appreciated. I have a MacBook running MacOS 13.3 so I downloaded the binary package from Root’s website and unpackaged the tar file. After that, I sourced it by writing source bin/thisroot.sh. However, now whenever I type in root in an attempt to run it, it prints:

sh: /Library/Developer/CommandLineTools/usr/bin/c++: No such file or directory  
ERROR in cling::CIFactory::createCI(): cannot extract standard library include paths!  
Invoking:  
LC\_ALL=C /Library/Developer/CommandLineTools/usr/bin/c++ -isysroot;/Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -xc++ -E -v /dev/null 2\>&1 | sed -n -e ‘/^.include/,${’ -e ‘/^ /.\*++/p’ -e ‘}’  
Results was:  
sh: /Library/Developer/CommandLineTools/usr/bin/c++: No such file or directory  
With exit code 0  
warning: no such sysroot directory: ‘/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/’  
C system headers (glibc/Xcode/Windows SDK) must be installed.  
**error:**  **entry with relative path at the root level is not discoverable**  
{ ‘name’: ‘’, ‘type’: ‘directory,’  
**^~**  
Error in modulemap.overlay!

I have XCode downloaded, and it seems to be working.

Please let me know what I can do to fix this. Thank you in advance!

---

<div class="post-metadata">

**Author:** ![Axel](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/axel/32/11084_2.png) [@Axel](https://root-forum.cern.ch/u/Axel)\
**Post date:** [May 23, 2023, 9:54am UTC](https://root-forum.cern.ch/t/problem-with-error-entry-with-relative-path-at-the-root-level-is-not-discoverable/54971/2 "2023-05-23T09:54:16Z")

</div>

Can you run `xcode-select --install`? See [Dependencies - ROOT](https://root.cern/install/dependencies/#macos) Does ROOT start afterwards? If not, what does `clang --version` say?

---

<div class="post-metadata">

**Author:** ![lsellers](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/l/85f322/32.png) [@lsellers](https://root-forum.cern.ch/u/lsellers)\
**Post date:** [January 6, 2024, 6:16pm UTC](https://root-forum.cern.ch/t/problem-with-error-entry-with-relative-path-at-the-root-level-is-not-discoverable/54971/3 "2024-01-06T18:16:05Z")

</div>

Were you able to the resolve the issue? I’m having the same problem. Let me know if so, thanks!

My versions are:

Mac OS: Monterey 12.1  
Xcode App: 13.4.1  
Xcode-select version 2392
