Skip to content

LoadError: error compiling anonymous: could not load library "libgobject-2.0" + LoadError: Failed to precompile Gtk to /Applications/JuliaPro-0.6.2.2.app/Contents/Resources/pkgs-0.6.2.2/lib/v0.6/Gtk.ji. #146

@bjce

Description

@bjce

Hello

I'm using macOS 10.13.4

I'm trying to load an image with ImageView

I passed the following command:

using ImageView, Images
img = load("/Users/mymac/Downloads/image.jpg")

But get the following error message

Precompiling module ImageView.
ERROR: LoadError: LoadError: error compiling anonymous: could not load library "libgobject-2.0"
dlopen(libgobject-2.0.dylib, 1): image not found
Stacktrace:
 [1] include_from_node1(::String) at ./loading.jl:576
 [2] include(::String) at ./sysimg.jl:14
 [3] include_from_node1(::String) at ./loading.jl:576
 [4] include(::String) at ./sysimg.jl:14
 [5] anonymous at ./<missing>:2
while loading /Applications/JuliaPro-0.6.2.2.app/Contents/Resources/pkgs-0.6.2.2/v0.6/Gtk/src/GLib/GLib.jl, in expression starting on line 68
while loading /Applications/JuliaPro-0.6.2.2.app/Contents/Resources/pkgs-0.6.2.2/v0.6/Gtk/src/Gtk.jl, in expression starting on line 8
ERROR: LoadError: Failed to precompile Gtk to /Applications/JuliaPro-0.6.2.2.app/Contents/Resources/pkgs-0.6.2.2/lib/v0.6/Gtk.ji.
Stacktrace:
 [1] compilecache(::String) at ./loading.jl:710
 [2] _require(::Symbol) at ./loading.jl:463
 [3] require(::Symbol) at ./loading.jl:405
 [4] include_from_node1(::String) at ./loading.jl:576
 [5] include(::String) at ./sysimg.jl:14
 [6] anonymous at ./<missing>:2
while loading /Applications/JuliaPro-0.6.2.2.app/Contents/Resources/pkgs-0.6.2.2/v0.6/ImageView/src/ImageView.jl, in expression starting on line 7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions