# Error when trying to add Pluto to Julia (Mac)

**URL:** <https://discourse.julialang.org/t/error-when-trying-to-add-pluto-to-julia-mac/107126>\
**Category:** New to Julia\
**Tags:** question, error, error-message\
**Created:** [December 4, 2023, 5:48pm UTC](https://discourse.julialang.org/t/error-when-trying-to-add-pluto-to-julia-mac/107126 "2023-12-04T17:48:40Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![molinq](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@molinq](https://discourse.julialang.org/u/molinq)\
**Post date:** [December 4, 2023, 5:48pm UTC](https://discourse.julialang.org/t/error-when-trying-to-add-pluto-to-julia-mac/107126/1 "2023-12-04T17:48:40Z")

</div>

Hey guys,  
I have just downloaded Julia 1.9 on my MacBook and everytime I try to add Pluto to Julia, I get this error message:

(@v1.9) pkg\> dyld: Library not loaded: @rpath/libLLVM.dylib  
Referenced from: /Applications/Julia-1.9.app/Contents/Resources/julia/libexec/julia/lld  
Reason: image not found  
dyld: Library not loaded: @rpath/libLLVM.dylib  
Referenced from: /Applications/Julia-1.9.app/Contents/Resources/julia/libexec/julia/lld  
Reason: image not found  
dyld: Library not loaded: @rpath/libLLVM.dylib  
Referenced from: /Applications/Julia-1.9.app/Contents/Resources/julia/libexec/julia/lld  
Reason: image not found

Someone knows how to solve this problem?  
Thank You!

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [December 4, 2023, 5:55pm UTC](https://discourse.julialang.org/t/error-when-trying-to-add-pluto-to-julia-mac/107126/2 "2023-12-04T17:55:08Z")

</div>

How did you install Julia?

---

<div class="post-metadata">

**Author:** ![molinq](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@molinq](https://discourse.julialang.org/u/molinq)\
**Post date:** [December 4, 2023, 5:57pm UTC](https://discourse.julialang.org/t/error-when-trying-to-add-pluto-to-julia-mac/107126/3 "2023-12-04T17:57:30Z")

</div>

Through their website: [Download Julia](https://julialang.org/downloads/)  
I downloaded the 64-bit (.dmg) version for macOS x86 (Intel or Rosetta)

 ![Bildschirmfoto 2023-12-04 um 18.56.51](https://global.discourse-cdn.com/julialang/original/3X/0/1/01cdd21b9c16d4584ed18c0b08bed1bc1e1ecdf8.png)

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [December 4, 2023, 6:01pm UTC](https://discourse.julialang.org/t/error-when-trying-to-add-pluto-to-julia-mac/107126/4 "2023-12-04T18:01:05Z")

</div>

Thanks - the reason I asked is that the error looks like a borked Julia install, but that’s the right way to go about installing it. I’m not a Mac user so out of ideas but I’m sure someone will be along shortly.

---

<div class="post-metadata">

**Author:** ![molinq](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@molinq](https://discourse.julialang.org/u/molinq)\
**Post date:** [December 4, 2023, 6:07pm UTC](https://discourse.julialang.org/t/error-when-trying-to-add-pluto-to-julia-mac/107126/5 "2023-12-04T18:07:10Z")

</div>

Thank you anyway!

---

<div class="post-metadata">

**Author:** ![mike.ingold](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mike.ingold/32/203749_2.png) [@mike.ingold](https://discourse.julialang.org/u/mike.ingold)\
**Post date:** [December 4, 2023, 6:10pm UTC](https://discourse.julialang.org/t/error-when-trying-to-add-pluto-to-julia-mac/107126/6 "2023-12-04T18:10:25Z")

</div>

I’m an occasional macOS user. For what it’s worth, Julia’s official juliaup installer ([macOS instructions here](https://github.com/JuliaLang/juliaup#mac-and-linux)) has always worked seamlessly for me vs dealing with the `.dmg`, setting up my PATH, etc.

---

<div class="post-metadata">

**Author:** ![George9000](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/george9000/32/23619_2.png) [@George9000](https://discourse.julialang.org/u/George9000)\
**Post date:** [December 4, 2023, 6:16pm UTC](https://discourse.julialang.org/t/error-when-trying-to-add-pluto-to-julia-mac/107126/7 "2023-12-04T18:16:55Z")

</div>

You could try [adding Julia to the PATH](https://julialang.org/downloads/platform/#optional_add_julia_to_path).

---

<div class="post-metadata">

**Author:** ![trung](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/trung/32/49217_2.png) [@trung](https://discourse.julialang.org/u/trung)\
**Post date:** [December 4, 2023, 6:56pm UTC](https://discourse.julialang.org/t/error-when-trying-to-add-pluto-to-julia-mac/107126/8 "2023-12-04T18:56:23Z")

</div>

I installed Julia on my Macbook Pro using the juliaup installer.

---

<div class="post-metadata">

**Author:** ![Benny](https://avatars.discourse-cdn.com/v4/letter/b/49beb7/32.png) [@Benny](https://discourse.julialang.org/u/Benny)\
**Post date:** [December 4, 2023, 7:44pm UTC](https://discourse.julialang.org/t/error-when-trying-to-add-pluto-to-julia-mac/107126/9 "2023-12-04T19:44:18Z")

</div>

> [@molinq](#):
>
> dyld: Library not loaded: @rpath/libLLVM.dylib

Googling this text gave [this issue](https://github.com/JuliaLang/julia/issues/49851)

---

<div class="post-metadata">

**Author:** ![cmichelenstrofer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cmichelenstrofer/32/44392_2.png) [@cmichelenstrofer](https://discourse.julialang.org/u/cmichelenstrofer)\
**Post date:** [December 4, 2023, 9:10pm UTC](https://discourse.julialang.org/t/error-when-trying-to-add-pluto-to-julia-mac/107126/10 "2023-12-04T21:10:02Z")

</div>

MacBook Pro, Intel chip, OS Ventura: installed via `juliaup` and works perfectly (including Pluto)

---

<div class="post-metadata">

**Author:** ![molinq](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@molinq](https://discourse.julialang.org/u/molinq)\
**Post date:** [December 6, 2023, 4:12pm UTC](https://discourse.julialang.org/t/error-when-trying-to-add-pluto-to-julia-mac/107126/11 "2023-12-06T16:12:50Z")

</div>

How did you add Pluto to Julia when you installed Julia via juliaup?

---

<div class="post-metadata">

**Author:** ![trung](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/trung/32/49217_2.png) [@trung](https://discourse.julialang.org/u/trung)\
**Post date:** [December 6, 2023, 4:16pm UTC](https://discourse.julialang.org/t/error-when-trying-to-add-pluto-to-julia-mac/107126/12 "2023-12-06T16:16:41Z")

</div>

I would add it like any other package, press ] and then type “add Pluto”

---

<div class="post-metadata">

**Author:** ![molinq](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@molinq](https://discourse.julialang.org/u/molinq)\
**Post date:** [December 6, 2023, 4:20pm UTC](https://discourse.julialang.org/t/error-when-trying-to-add-pluto-to-julia-mac/107126/13 "2023-12-06T16:20:03Z")

</div>

It says “command not found”

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [December 6, 2023, 4:29pm UTC](https://discourse.julialang.org/t/error-when-trying-to-add-pluto-to-julia-mac/107126/14 "2023-12-06T16:29:22Z")

</div>

“Command not found” sounds different than the one you originally reported. Could you provide more context? More text like you provided in the original post would br helpful.

Also in the linked issue, does `julia --pkgimages=no` help?

I suspect the problem is related to code signing and the library load paths. Are there any special security restrictions on the computer in question? Do you have a conda environment activated?

---

<div class="post-metadata">

**Author:** ![molinq](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@molinq](https://discourse.julialang.org/u/molinq)\
**Post date:** [December 6, 2023, 4:36pm UTC](https://discourse.julialang.org/t/error-when-trying-to-add-pluto-to-julia-mac/107126/15 "2023-12-06T16:36:04Z")

</div>

This is the error message I receive when trying to add Pluto (installed julia via juliaup)

(@v1.9) pkg\> add Pluto  
Resolving package versions…  
No Changes to `~/.julia/environments/v1.9/Project.toml`  
No Changes to `~/.julia/environments/v1.9/Manifest.toml`  
Precompiling project…  
Progress [\>] 0/37  
◓ DataValueInterfaces  
◓ LazilyInitializedFields  
◑ IteratorInterfaceExtensions  
Progress [\>] 0/37  
◑ DataValueInterfaces  
◑ LazilyInitializedFields  
◒ IteratorInterfaceExtensions  
◒ MsgPack  
◒ URIs  
◑ PrecompileSignatures  
◒ ExceptionUnwrapping  
◒ DataValueInterfaces  
◒ LazilyInitializedFields  
◐ IteratorInterfaceExtensions  
◐ MsgPack  
◐ URIs  
◒ PrecompileSignatures  
◐ ExceptionUnwrapping  
◑ SimpleBufferStream  
◒ Tricks  
◒ DataAPI  
◑ CompilerSupportLibraries\_jll  
◐ MIMEs  
◑ ConcurrentUtilities  
◐ ExproniconLite  
◑ OrderedCollections  
◑ Configurations  
◓ BitFlags  
◓ FuzzyCompletions  
◒ TranscodingStreams  
◒ Preferences  
◒ TranscodingStreams → TestExt  
◑ Scratch  
◒ PrecompileTools  
◓ JLLWrappers  
◒ LoggingExtras  
◑ CodecZlib  
◐ MbedTLS  
◓ RelocatableFolders  
◑ OpenSSL\_jll  
◐ Malt  
◑ OpenSSL  
dyld: Library not loaded: @rpath/libLLVM.dylib  
Referenced from: /Users/xxx/.julia/juliaup/julia-1.9.4+0.x64.apple.darwin14/libexec/julia/lld  
Reason: image not found  
dyld: Library not loaded: @rpath/libLLVM.dylib  
Referenced from: /Users/xxx/.julia/juliaup/julia-1.9.4+0.x64.apple.darwin14/libexec/julia/lld  
Reason: image not found  
dyld: Library not loaded: @rpath/libLLVM.dylib  
Referenced from: /Users/xxx/.julia/juliaup/julia-1.9.4+0.x64.apple.darwin14/libexec/julia/lld  
Reason: image not found

(@v1.9) pkg\> dyld: Library not loaded: @rpath/libLLVM.dylib  
Referenced from: /Users/xxx/.julia/juliaup/julia-1.9.4+0.x64.apple.darwin14/libexec/julia/lld  
Reason: image not found  
dyld: Library not loaded: @rpath/libLLVM.dylib  
Referenced from: /Users/xxx/.julia/juliaup/julia-1.9.4+0.x64.apple.darwin14/libexec/julia/lld  
Reason: image not found  
dyld: Library not loaded: @rpath/libLLVM.dylib  
Referenced from: /Users/xxx/.julia/juliaup/julia-1.9.4+0.x64.apple.darwin14/libexec/julia/lld  
Reason: image not found

---

<div class="post-metadata">

**Author:** ![molinq](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@molinq](https://discourse.julialang.org/u/molinq)\
**Post date:** [December 6, 2023, 4:37pm UTC](https://discourse.julialang.org/t/error-when-trying-to-add-pluto-to-julia-mac/107126/16 "2023-12-06T16:37:16Z")

</div>

What is a “conda environment”?

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [December 6, 2023, 4:42pm UTC](https://discourse.julialang.org/t/error-when-trying-to-add-pluto-to-julia-mac/107126/17 "2023-12-06T16:42:10Z")

</div>

Don’t worry about `conda` if you do not know.

Try the `julia --pkgimages=no` thing first from a terminal to see if that works. You might need to provide the full path to Julia. For example it might be

```julia
/Users/xxx/.julia/juliaup/julia-1.9.4+0.x64.apple.darwin14/bin/julia

```

Could you try running the following command in a terminal as well to see if that executes by itself?

```julia
/Users/xxx/.julia/juliaup/julia-1.9.4+0.x64.apple.darwin14/libexec/julia/lld

```

---

<div class="post-metadata">

**Author:** ![molinq](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@molinq](https://discourse.julialang.org/u/molinq)\
**Post date:** [December 6, 2023, 4:54pm UTC](https://discourse.julialang.org/t/error-when-trying-to-add-pluto-to-julia-mac/107126/18 "2023-12-06T16:54:02Z")

</div>

Just tried both. Still got the same error message. Even when trying the /Users/xxx/.julia/juliaup/julia-1.9.4+0.x64.apple.darwin14/bin/julia code

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [December 6, 2023, 5:06pm UTC](https://discourse.julialang.org/t/error-when-trying-to-add-pluto-to-julia-mac/107126/19 "2023-12-06T17:06:26Z")

</div>

So running the full path with `--pkgimages=no` still produces an error from lld?

```julia
/Users/xxx/.julia/juliaup/julia-1.9.4+0.x64.apple.darwin14/bin/julia --pkgimages=no

```

I’ll need to think about that. I’m not sure why `lld` would be invoked with `--pkgimages=no`.

---

<div class="post-metadata">

**Author:** ![molinq](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@molinq](https://discourse.julialang.org/u/molinq)\
**Post date:** [December 6, 2023, 10:46pm UTC](https://discourse.julialang.org/t/error-when-trying-to-add-pluto-to-julia-mac/107126/20 "2023-12-06T22:46:45Z")

</div>

It actually worked this way! But what does --pkgimages=no mean? What disadvantages do I have now / if any?

And also, when I run Pluto it redirects me to safari. How can I change it so it redirects me to Google Chrome?

[Next page](https://discourse.julialang.org/t/error-when-trying-to-add-pluto-to-julia-mac/107126.md?page=2)
