Skip to content

Load library "libgobject-2.0" and precompile Gtk #104

@henselman-petrusek

Description

@henselman-petrusek

Have been getting the following errors, though everything seems to be up to date.

julia> versioninfo()
Julia Version 0.7.0
Commit a4cb80f3ed (2018-08-08 06:46 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin14.5.0)
  CPU: Intel(R) Core(TM) i7-7920HQ CPU @ 3.10GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.0 (ORCJIT, skylake)

julia> Pkg.update()
WARNING: Base.Pkg is deprecated, run `using Pkg` instead
 in module Main
  Updating registry at `~/.julia/registries/General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
 Resolving package versions...
  Updating `~/.julia/environments/v0.7/Project.toml`
 [no changes]
  Updating `~/.julia/environments/v0.7/Manifest.toml`
 [no changes]

julia> using Profile

julia> using ProfileView
[ Info: Precompiling Gtk [4c0ca9eb-093a-5379-98c5-f87ac0bbbf44]
ERROR: LoadError: LoadError: error compiling top-level scope: could not load library "libgobject-2.0"
dlopen(libgobject-2.0.dylib, 1): image not found
Stacktrace:
 [1] include at ./boot.jl:317 [inlined]
 [2] include_relative(::Module, ::String) at ./loading.jl:1038
 [3] include at ./sysimg.jl:29 [inlined]
 [4] include(::String) at /Users/gh10/.julia/packages/Gtk/ADDrn/src/Gtk.jl:2
 [5] top-level scope at none:0
 [6] include at ./boot.jl:317 [inlined]
 [7] include_relative(::Module, ::String) at ./loading.jl:1038
 [8] include(::Module, ::String) at ./sysimg.jl:29
 [9] top-level scope at none:2
 [10] eval at ./boot.jl:319 [inlined]
 [11] eval(::Expr) at ./client.jl:399
 [12] top-level scope at ./none:3
in expression starting at /Users/gh10/.julia/packages/Gtk/ADDrn/src/GLib/GLib.jl:48
in expression starting at /Users/gh10/.julia/packages/Gtk/ADDrn/src/Gtk.jl:7
ERROR: InitError: LoadError: Failed to precompile Gtk [4c0ca9eb-093a-5379-98c5-f87ac0bbbf44] to /Users/gh10/.julia/compiled/v0.7/Gtk/Vjnq0.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] macro expansion at ./logging.jl:313 [inlined]
 [3] compilecache(::Base.PkgId, ::String) at ./loading.jl:1185
 [4] macro expansion at ./logging.jl:311 [inlined]
 [5] _require(::Base.PkgId) at ./loading.jl:941
 [6] require(::Base.PkgId) at ./loading.jl:852
 [7] macro expansion at ./logging.jl:311 [inlined]
 [8] require(::Module, ::Symbol) at ./loading.jl:834
 [9] include at ./boot.jl:317 [inlined]
 [10] include_relative(::Module, ::String) at ./loading.jl:1038
 [11] include at ./sysimg.jl:29 [inlined]
 [12] include at /Users/gh10/.julia/packages/ProfileView/0MFdX/src/ProfileView.jl:1 [inlined]
 [13] __init__() at /Users/gh10/.julia/packages/ProfileView/0MFdX/src/ProfileView.jl:53
 [14] _include_from_serialized(::String, ::Array{Any,1}) at ./loading.jl:627
 [15] macro expansion at ./logging.jl:312 [inlined]
 [16] _require_search_from_serialized(::Base.PkgId, ::String) at ./loading.jl:698
 [17] _require(::Base.PkgId) at ./loading.jl:931
 [18] require(::Base.PkgId) at ./loading.jl:852
 [19] macro expansion at ./logging.jl:311 [inlined]
 [20] require(::Module, ::Symbol) at ./loading.jl:834
in expression starting at /Users/gh10/.julia/packages/ProfileView/0MFdX/src/ProfileViewGtk.jl:4
during initialization of module ProfileView

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions