JuliaIO / ImageMagick.jl

Thin Wrapper for the library ImageMagick
Other
53 stars 37 forks source link

libwand undefined in julia latest #189

Closed johnnychen94 closed 3 years ago

johnnychen94 commented 3 years ago

Version 1.6.0-DEV.990 (2020-09-21) in MacOS. It seems that Windows also have a similar issue. (Logs can be found in https://github.com/JuliaImages/TestImages.jl/pull/84)

env JULIA_DEPOT_PATH=tmp julia-latest -e 'using Pkg; pkg"add ImageMagick"; using ImageMagick' gives

ERROR: InitError: UndefVarError: libwand not defined
Stacktrace:
 [1] magickgenesis
   @ ~/tmp/packages/ImageMagick/0LwpT/src/libmagickwand.jl:21 [inlined]
 [2] __init__()
   @ ImageMagick ~/tmp/packages/ImageMagick/0LwpT/src/libmagickwand.jl:27
 [3] _include_from_serialized(path::String, depmods::Vector{Any})
   @ Base ./loading.jl:605
 [4] _require_from_serialized(path::String, cache::Base.TOMLCache)
   @ Base ./loading.jl:658
 [5] _require(pkg::Base.PkgId, cache::Base.TOMLCache)
   @ Base ./loading.jl:963
 [6] require(uuidkey::Base.PkgId, cache::Base.TOMLCache)
   @ Base ./loading.jl:846
 [7] require(into::Module, mod::Symbol)
   @ Base ./loading.jl:833
during initialization of module ImageMagick

@staticfloat is this due to the recent BB and artifacts changes in julia?

Edit: seems related to https://github.com/JuliaPackaging/BinaryBuilder.jl/issues/913

johnnychen94 commented 3 years ago

Should be fixed by https://github.com/JuliaLang/julia/pull/37764 and is not an issue anymore in the following nightly build

Julia Version 1.6.0-DEV.1072
Commit fec672db85 (2020-09-29 06:02 UTC)