Julia 1.0 building system image on Mac


#1

Any idea?

$ /Applications/Julia-1.0.app/Contents/Resources/julia/bin/julia 
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.0.0 (2018-08-08)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> include(joinpath(Sys.BINDIR, Base.DATAROOTDIR, "julia", "build_sysimg.jl"))

julia> build_sysimg()
ERROR: UndefVarError: Libdl not defined
Stacktrace:
 [1] default_sysimg_path(::Bool) at /Applications/Julia-1.0.app/Contents/Resources/julia/share/julia/build_sysimg.jl:9
 [2] #build_sysimg#3(::Bool, ::Bool, ::Function, ::Nothing, ::String, ::Nothing) at /Applications/Julia-1.0.app/Contents/Resources/julia/share/julia/build_sysimg.jl:29
 [3] build_sysimg at /Applications/Julia-1.0.app/Contents/Resources/julia/share/julia/build_sysimg.jl:28 [inlined] (repeats 2 times)
 [4] top-level scope at none:0

julia> using Libdl

julia> build_sysimg()
ERROR: UndefVarError: info not defined
Stacktrace:
 [1] #build_sysimg#3(::Bool, ::Bool, ::Function, ::Nothing, ::String, ::Nothing) at /Applications/Julia-1.0.app/Contents/Resources/julia/share/julia/build_sysimg.jl:36
 [2] build_sysimg at /Applications/Julia-1.0.app/Contents/Resources/julia/share/julia/build_sysimg.jl:28 [inlined] (repeats 2 times)
 [3] top-level scope at none:0

#2

Seems like a bug, please open an issue.


#3

Done, thanks.