GraphViz.jl icon indicating copy to clipboard operation
GraphViz.jl copied to clipboard

main branch is broken? libgvc is not defined

Open bvdmitri opened this issue 1 year ago • 1 comments

→ julia --project=.
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.11.2 (2024-12-01)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> using GraphViz
ERROR: InitError: UndefVarError: `libgvc` not defined in `GraphViz`
Suggestion: check for spelling errors or missing imports.
Stacktrace:
  [1] Context
    @ /private/tmp/GraphViz.jl/src/GraphViz.jl:38 [inlined]
  [2] __init__()
    @ GraphViz /private/tmp/GraphViz.jl/src/GraphViz.jl:206
  [3] run_module_init(mod::Module, i::Int64)
    @ Base ./loading.jl:1378
  [4] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
    @ Base ./loading.jl:1366
  [5] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any}, ignore_native::Nothing; register::Bool)
    @ Base ./loading.jl:1254
  [6] _include_from_serialized (repeats 2 times)
    @ ./loading.jl:1210 [inlined]
  [7] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128, stalecheck::Bool; reasons::Dict{String, Int64}, DEPOT_PATH::Vector{String})
    @ Base ./loading.jl:2057
  [8] _require(pkg::Base.PkgId, env::String)
    @ Base ./loading.jl:2527
  [9] __require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:2388
 [10] #invoke_in_world#3
    @ ./essentials.jl:1089 [inlined]
 [11] invoke_in_world
    @ ./essentials.jl:1086 [inlined]
 [12] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:2375
 [13] macro expansion
    @ ./loading.jl:2314 [inlined]
 [14] macro expansion
    @ ./lock.jl:273 [inlined]
 [15] __require(into::Module, mod::Symbol)
    @ Base ./loading.jl:2271
 [16] #invoke_in_world#3
    @ ./essentials.jl:1089 [inlined]
 [17] invoke_in_world
    @ ./essentials.jl:1086 [inlined]
 [18] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:2260
during initialization of module GraphViz

julia>

bvdmitri avatar Dec 23 '24 12:12 bvdmitri

Upon inspecting the code I indeed cannot find the libgvc variable being defined anywhere

bvdmitri avatar Dec 23 '24 12:12 bvdmitri