# ROOT Problem File dose not exist

**URL:** <https://root-forum.cern.ch/t/root-problem-file-dose-not-exist/64015>\
**Category:** Garfield++\
**Created:** [August 12, 2025, 9:21am UTC](https://root-forum.cern.ch/t/root-problem-file-dose-not-exist/64015 "2025-08-12T09:21:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Migu](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/m/b487fb/32.png) [@Migu](https://root-forum.cern.ch/u/Migu)\
**Post date:** [August 12, 2025, 9:21am UTC](https://root-forum.cern.ch/t/root-problem-file-dose-not-exist/64015/1 "2025-08-12T09:21:22Z")

</div>

After updating the ROOT version to 6.36, I encountered this error when running the program.

![root](https://root-forum.cern.ch/uploads/default/optimized/3X/c/b/cb700847c97b838a8cd05d691466fcc5309e657c_2_690x30.png)

---

<div class="post-metadata">

**Author:** ![Danilo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/danilo/32/34528_2.png) [@Danilo](https://root-forum.cern.ch/u/Danilo)\
**Post date:** [August 12, 2025, 12:32pm UTC](https://root-forum.cern.ch/t/root-problem-file-dose-not-exist/64015/2 "2025-08-12T12:32:34Z")

</div>

Hi,

Thanks for the post. Informing @hschindl .

It seems ROOT cannot find the file `libGarfield_rdict.pcm`, associated with the `libGarfiled` shared library. Is the file in the `/root/garfiled/install/lib` directory? Did you rebuild garfield against the new ROOT?

Cheers,

D

---

<div class="post-metadata">

**Author:** ![gabrielribcesario](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/gabrielribcesario/32/38927_2.png) [@gabrielribcesario](https://root-forum.cern.ch/u/gabrielribcesario)\
**Post date:** [August 12, 2025, 11:11pm UTC](https://root-forum.cern.ch/t/root-problem-file-dose-not-exist/64015/3 "2025-08-12T23:11:53Z")

</div>

Hello there,

If you’ve pulled a recent commit from the Garfield++ repo, then the culprit is likely the top level CMakeLists.txt. I’ve already DM’ed hschindl about it, but I don’t think he has found a chance to look at it yet. To fix this, you’ll need to switch to an older version by running `git checkout 101dfda` inside the Garfield++ home dir and then rebuild it.

The bug you’re reporting is related to a typo in a `install` call in the top-level CMake list (line 339):

```makefile
# Incorrect
install(libGarfieldDict_rdict.pcm ... MODULE Garfield)
# Correct
install(libGarfield_rdict.pcm ... MODULE Garfield)

```

I’m pretty sure there are other problems in the file that stem from the recent commits that are causing segfaults at runtime. I haven’t had time to figure them out yet, which is why I’m recommending the git checkout.

Sincerely,

Gabriel

---

<div class="post-metadata">

**Author:** ![hschindl](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/h/977dab/32.png) [@hschindl](https://root-forum.cern.ch/u/hschindl)\
**Post date:** [August 13, 2025, 5:35am UTC](https://root-forum.cern.ch/t/root-problem-file-dose-not-exist/64015/4 "2025-08-13T05:35:47Z")

</div>

Hi,

indeed, there seems to be an issue with a recent set of changes to `CMakeLists.txt`Thanks a lot @gabrielribcesario for reporting and debugging this! I’ve just pushed a fix for the typo pointed out by @gabrielribcesario): [Fix typo (thanks to Gabriel Ribeiro). (!513) · Merge requests · garfield / garfieldpp · GitLab](https://gitlab.cern.ch/garfield/garfieldpp/-/merge_requests/513)  
Do let us know if you encounter more issues.

---

<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:** [August 27, 2025, 5:36am UTC](https://root-forum.cern.ch/t/root-problem-file-dose-not-exist/64015/5 "2025-08-27T05:36:32Z")

</div>

Closed on August 27, 2025, 5:36am UTC

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