# Julia can only run as root--- why

**URL:** <https://discourse.julialang.org/t/julia-can-only-run-as-root-why/124905>\
**Category:** General Usage\
**Tags:** error, startup\
**Created:** [January 18, 2025, 7:16pm UTC](https://discourse.julialang.org/t/julia-can-only-run-as-root-why/124905 "2025-01-18T19:16:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MatFi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/matfi/32/10002_2.png) [@MatFi](https://discourse.julialang.org/u/MatFi)\
**Post date:** [January 18, 2025, 7:16pm UTC](https://discourse.julialang.org/t/julia-can-only-run-as-root-why/124905/1 "2025-01-18T19:16:01Z")

</div>

Hi, after some time I wanted to do something in Julia again, how ever I observe the following error when I start julia as normal user;

```julia
ERROR: Unable to load dependent library /home/matfi/.julia/julia-1.11.2/bin/../lib/julia/libjulia-codegen.so.1.11
Message:/home/matfi/.julia/julia-1.11.2/bin/../lib/julia/libjulia-codegen.so.1.11: undefined symbol: _ZN4llvm16JITEventListener27createIntelJITEventListenerEv, version JL_LLVM_16.

```

I can run Julia as root without any issues. Any hint on where the problem could be located (the mentioned paths are readable to the user)

---

<div class="post-metadata">

**Author:** ![MatFi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/matfi/32/10002_2.png) [@MatFi](https://discourse.julialang.org/u/MatFi)\
**Post date:** [January 18, 2025, 7:45pm UTC](https://discourse.julialang.org/t/julia-can-only-run-as-root-why/124905/2 "2025-01-18T19:45:40Z")

</div>

found the solution: there was `JULIA_LOAD_PATH` set to `/usr/share/gmsh/api/julia`  
after removing the gmsh package everything runs smoothly now. Must have been a leftover from earlier times. Closed for me, sry for the noise!
