# Failed to precompile Plots due to InitError in libgobject-2.0.so: undefined symbol g\_pattern\_spec\_copy

**URL:** <https://discourse.julialang.org/t/failed-to-precompile-plots-due-to-initerror-in-libgobject-2-0-so-undefined-symbol-g-pattern-spec-copy/88900>\
**Category:** New to Julia\
**Tags:** question, plots, glib\_jll\
**Created:** [October 18, 2022, 9:46am UTC](https://discourse.julialang.org/t/failed-to-precompile-plots-due-to-initerror-in-libgobject-2-0-so-undefined-symbol-g-pattern-spec-copy/88900 "2022-10-18T09:46:14Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [November 5, 2022, 5:25pm UTC](https://discourse.julialang.org/t/failed-to-precompile-plots-due-to-initerror-in-libgobject-2-0-so-undefined-symbol-g-pattern-spec-copy/88900/8 "2022-11-05T17:25:06Z")

</div>

For the problem with `libgobject-2.0.so` my educated guess is that you have in your `LD_LIBRARY_PATH` an old copy of glib which is being picked up by the dynamic loader. To avoid this you can start julia with

```julia
LD_LIBRARY_PATH="" julia

```

For the problem with the missing certificate file you’re clearly using an incomplete installation of julia.

---

_[View the full topic](https://discourse.julialang.org/t/failed-to-precompile-plots-due-to-initerror-in-libgobject-2-0-so-undefined-symbol-g-pattern-spec-copy/88900)._
