# Error when attempting to load Franklin pkg

**URL:** <https://discourse.julialang.org/t/error-when-attempting-to-load-franklin-pkg/101511>\
**Category:** New to Julia\
**Tags:** franklin\
**Created:** [July 12, 2023, 7:42am UTC](https://discourse.julialang.org/t/error-when-attempting-to-load-franklin-pkg/101511 "2023-07-12T07:42:24Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![tomc](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tomc/32/50981_2.png) [@tomc](https://discourse.julialang.org/u/tomc)\
**Post date:** [July 12, 2023, 2:11pm UTC](https://discourse.julialang.org/t/error-when-attempting-to-load-franklin-pkg/101511/5 "2023-07-12T14:11:51Z")

</div>

Solved:

```julia
(@v1.9) pkg> add Franklin
   Resolving package versions...
  No Changes to `~/.julia/environments/v1.9/Project.toml`
  No Changes to `~/.julia/environments/v1.9/Manifest.toml`

(@v1.9) pkg> 

```

See solution here:

> [@Error installing packages: could not spawn setenv(\`lld -flavor gnu\`)](https://discourse.julialang.org/t/error-installing-packages-could-not-spawn-setenv-lld-flavor-gnu/101513/5):
>
> It doesn’t look like this has anything to do with IJulia — I suspect that the same error occurs when you try to precompile any package? (Try installing anything else, e.g. try using VersionParsing for a little package with no dependencies.) If you google this error message, it turns up the thread [julia#49718](https://github.com/JuliaLang/julia/issues/49718). From the sound of it, this occurs when using a broken julia installation provided with your OS distribution. The recommendation there is to install Julia [via juliaup](https://github.com/JuliaLang/juliaup) instead.

---

_[View the full topic](https://discourse.julialang.org/t/error-when-attempting-to-load-franklin-pkg/101511)._
