Not sure who is responsible for this, but 1.5 on Catalina is generating the following issue for me when I try to use Plots.jl
. I have had no problem with v1.4 on the same machine.
julia> using Plots
[ Info: Precompiling Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80]
ERROR: LoadError: InitError: could not load library "/Users/grs53/.julia/artifacts/dbb254dca678145c7d79410e96da494cc94f8a13/lib/libavdevice.58.5.100.dylib"
dlopen(/Users/grs53/.julia/artifacts/dbb254dca678145c7d79410e96da494cc94f8a13/lib/libavdevice.58.5.100.dylib, 1): Library not loaded: @rpath/libx264.157.dylib
Referenced from: /Users/grs53/.julia/artifacts/dbb254dca678145c7d79410e96da494cc94f8a13/lib/libavdevice.58.5.100.dylib
Reason: image not found
Stacktrace:
[1] dlopen(::String, ::UInt32; throw_error::Bool) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Libdl/src/Libdl.jl:109
[2] dlopen at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Libdl/src/Libdl.jl:109 [inlined] (repeats 2 times)
[3] __init__() at /Users/grs53/.julia/packages/FFMPEG_jll/tCUYA/src/wrappers/x86_64-apple-darwin14.jl:231
[4] _include_from_serialized(::String, ::Array{Any,1}) at ./loading.jl:697
[5] _require_search_from_serialized(::Base.PkgId, ::String) at ./loading.jl:782
[6] _require(::Base.PkgId) at ./loading.jl:1007
[7] require(::Base.PkgId) at ./loading.jl:928
[8] require(::Module, ::Symbol) at ./loading.jl:923
[9] include(::Function, ::Module, ::String) at ./Base.jl:380
[10] include(::Module, ::String) at ./Base.jl:368
[11] top-level scope at none:2
[12] eval at ./boot.jl:331 [inlined]
[13] eval(::Expr) at ./client.jl:467
[14] top-level scope at ./none:3
during initialization of module FFMPEG_jll
in expression starting at /Users/grs53/.julia/packages/FFMPEG/vocw2/src/FFMPEG.jl:3
ERROR: LoadError: Failed to precompile FFMPEG [c87230d0-a227-11e9-1b43-d7ebe4e7570a] to /Users/grs53/.julia/compiled/v1.5/FFMPEG/TGvga_vi2gq.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1290
[3] _require(::Base.PkgId) at ./loading.jl:1030
[4] require(::Base.PkgId) at ./loading.jl:928
[5] require(::Module, ::Symbol) at ./loading.jl:923
[6] include(::Function, ::Module, ::String) at ./Base.jl:380
[7] include(::Module, ::String) at ./Base.jl:368
[8] top-level scope at none:2
[9] eval at ./boot.jl:331 [inlined]
[10] eval(::Expr) at ./client.jl:467
[11] top-level scope at ./none:3
in expression starting at /Users/grs53/.julia/packages/Plots/LWw1t/src/Plots.jl:15
ERROR: Failed to precompile Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80] to /Users/grs53/.julia/compiled/v1.5/Plots/ld3vC_vi2gq.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1290
[3] _require(::Base.PkgId) at ./loading.jl:1030
[4] require(::Base.PkgId) at ./loading.jl:928
[5] require(::Module, ::Symbol) at ./loading.jl:923
Try to pin x264_jll
to 2019.5.25
:
]add [email protected]
Try to pin x264_jll to 2019.5.25:
Thank you, this solution work for me. 😄
Yup, that did it.
yeah, that does the trick for me too
Try to pin
x264_jll
to2019.5.25
:]add [email protected]
This solve a similar problem on Ubuntu as well.
]add [email protected]
Just tested. It solve a similar issue under Windows 10 as well. Thanks!
Now that https://github.com/JuliaRegistries/General/pull/18881 is merged, you can remove x264_jll
and update the registry. This issue can also be closed
Most helpful comment
Now that https://github.com/JuliaRegistries/General/pull/18881 is merged, you can remove
x264_jll
and update the registry. This issue can also be closed