Hi! I’m trying to set up julia on my older Intel Macbook running macOS High Sierra (10.13.6).
My julia version is:
Julia Version 1.8.1
Commit afb6c60d69a (2022-09-06 15:09 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin21.4.0)
CPU: 4 × Intel(R) Core(TM) i5-2435M CPU @ 2.40GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-13.0.1 (ORCJIT, sandybridge)
Threads: 1 on 4 virtual cores
I downloaded it using the standard .dmg package on the julia website.
The error I’m getting when trying to precomplie Plots is the following:
Precompiling project...
✗ FFMPEG
✗ GR_jll
✗ Plots
0 dependencies successfully precompiled in 14 seconds. 128 already precompiled.
ERROR: The following 2 direct dependencies failed to precompile:
FFMPEG [c87230d0-a227-11e9-1b43-d7ebe4e7570a]
Failed to precompile FFMPEG [c87230d0-a227-11e9-1b43-d7ebe4e7570a] to /Users/jeffreyzweidler/.julia/compiled/v1.8/FFMPEG/jl_ulJBr6.
ERROR: LoadError: InitError: could not load library "/Users/jeffreyzweidler/.julia/artifacts/c759795325eba6523fb1157b582551d4250575e1/lib/libavdevice.58.13.100.dylib"
dlopen(/Users/jeffreyzweidler/.julia/artifacts/c759795325eba6523fb1157b582551d4250575e1/lib/libavdevice.58.13.100.dylib, 1): image not found
Stacktrace:
[1] dlopen(s::String, flags::UInt32; throw_error::Bool)
@ Base.Libc.Libdl ./libdl.jl:117
[2] dlopen(s::String, flags::UInt32)
@ Base.Libc.Libdl ./libdl.jl:116
[3] macro expansion
@ ~/.julia/packages/JLLWrappers/QpMQW/src/products/library_generators.jl:54 [inlined]
[4] __init__()
@ FFMPEG_jll ~/.julia/packages/FFMPEG_jll/9kTcb/src/wrappers/x86_64-apple-darwin.jl:38
[5] _include_from_serialized(pkg::Base.PkgId, path::String, depmods::Vector{Any})
@ Base ./loading.jl:831
[6] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt64)
@ Base ./loading.jl:1039
[7] _require(pkg::Base.PkgId)
@ Base ./loading.jl:1315
[8] _require_prelocked(uuidkey::Base.PkgId)
@ Base ./loading.jl:1200
[9] macro expansion
@ ./loading.jl:1180 [inlined]
[10] macro expansion
@ ./lock.jl:223 [inlined]
[11] require(into::Module, mod::Symbol)
@ Base ./loading.jl:1144
[12] include
@ ./Base.jl:419 [inlined]
[13] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing)
@ Base ./loading.jl:1554
[14] top-level scope
@ stdin:1
during initialization of module FFMPEG_jll
in expression starting at /Users/jeffreyzweidler/.julia/packages/FFMPEG/OUpap/src/FFMPEG.jl:1
in expression starting at stdin:1
Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80]
Failed to precompile Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80] to /Users/jeffreyzweidler/.julia/compiled/v1.8/Plots/jl_bcbfO1.
ERROR: LoadError: InitError: could not load library "/Users/jeffreyzweidler/.julia/artifacts/c759795325eba6523fb1157b582551d4250575e1/lib/libavdevice.58.13.100.dylib"
dlopen(/Users/jeffreyzweidler/.julia/artifacts/c759795325eba6523fb1157b582551d4250575e1/lib/libavdevice.58.13.100.dylib, 1): image not found
Stacktrace:
[1] dlopen(s::String, flags::UInt32; throw_error::Bool)
@ Base.Libc.Libdl ./libdl.jl:117
[2] dlopen(s::String, flags::UInt32)
@ Base.Libc.Libdl ./libdl.jl:116
[3] macro expansion
@ ~/.julia/packages/JLLWrappers/QpMQW/src/products/library_generators.jl:54 [inlined]
[4] __init__()
@ FFMPEG_jll ~/.julia/packages/FFMPEG_jll/9kTcb/src/wrappers/x86_64-apple-darwin.jl:38
[5] _include_from_serialized(pkg::Base.PkgId, path::String, depmods::Vector{Any})
@ Base ./loading.jl:831
[6] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt64)
@ Base ./loading.jl:1039
[7] _require(pkg::Base.PkgId)
@ Base ./loading.jl:1315
[8] _require_prelocked(uuidkey::Base.PkgId)
@ Base ./loading.jl:1200
[9] macro expansion
@ ./loading.jl:1180 [inlined]
[10] macro expansion
@ ./lock.jl:223 [inlined]
[11] require(into::Module, mod::Symbol)
@ Base ./loading.jl:1144
[12] include
@ ./Base.jl:419 [inlined]
[13] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::String)
@ Base ./loading.jl:1554
[14] top-level scope
@ stdin:1
during initialization of module FFMPEG_jll
in expression starting at /Users/jeffreyzweidler/.julia/packages/FFMPEG/OUpap/src/FFMPEG.jl:1
in expression starting at stdin:1
ERROR: LoadError: Failed to precompile FFMPEG [c87230d0-a227-11e9-1b43-d7ebe4e7570a] to /Users/jeffreyzweidler/.julia/compiled/v1.8/FFMPEG/jl_EWet86.
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:35
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
@ Base ./loading.jl:1705
[3] compilecache
@ ./loading.jl:1649 [inlined]
[4] _require(pkg::Base.PkgId)
@ Base ./loading.jl:1337
[5] _require_prelocked(uuidkey::Base.PkgId)
@ Base ./loading.jl:1200
[6] macro expansion
@ ./loading.jl:1180 [inlined]
[7] macro expansion
@ ./lock.jl:223 [inlined]
[8] require(into::Module, mod::Symbol)
@ Base ./loading.jl:1144
[9] include(mod::Module, _path::String)
@ Base ./Base.jl:419
[10] include(x::String)
@ Plots ~/.julia/packages/Plots/nbICw/src/Plots.jl:1
[11] top-level scope
@ ~/.julia/packages/Plots/nbICw/src/Plots.jl:181
[12] include
@ ./Base.jl:419 [inlined]
[13] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing)
@ Base ./loading.jl:1554
[14] top-level scope
@ stdin:1
in expression starting at /Users/jeffreyzweidler/.julia/packages/Plots/nbICw/src/animation.jl:1
in expression starting at /Users/jeffreyzweidler/.julia/packages/Plots/nbICw/src/Plots.jl:1
in expression starting at stdin:1
Stacktrace:
[1] pkgerror(msg::String)
@ Pkg.Types /Applications/Julia-1.8.app/Contents/Resources/julia/share/julia/stdlib/v1.8/Pkg/src/Types.jl:67
[2] precompile(ctx::Pkg.Types.Context, pkgs::Vector{String}; internal_call::Bool, strict::Bool, warn_loaded::Bool, already_instantiated::Bool, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Pkg.API /Applications/Julia-1.8.app/Contents/Resources/julia/share/julia/stdlib/v1.8/Pkg/src/API.jl:1427
[3] precompile
@ /Applications/Julia-1.8.app/Contents/Resources/julia/share/julia/stdlib/v1.8/Pkg/src/API.jl:1058 [inlined]
[4] #precompile#224
@ /Applications/Julia-1.8.app/Contents/Resources/julia/share/julia/stdlib/v1.8/Pkg/src/API.jl:1056 [inlined]
[5] precompile
@ /Applications/Julia-1.8.app/Contents/Resources/julia/share/julia/stdlib/v1.8/Pkg/src/API.jl:1056 [inlined]
[6] #precompile#223
@ /Applications/Julia-1.8.app/Contents/Resources/julia/share/julia/stdlib/v1.8/Pkg/src/API.jl:1055 [inlined]
[7] precompile(pkg::String)
@ Pkg.API /Applications/Julia-1.8.app/Contents/Resources/julia/share/julia/stdlib/v1.8/Pkg/src/API.jl:1055
[8] top-level scope
@ REPL[2]:1
Any ideas?
Thank you for the help!