Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.
This repository was archived by the owner on Jun 4, 2025. It is now read-only.

gdk-pixdump possibly not installed correctly #121

@bjarthur

Description

@bjarthur

when testing Gtk.jl, i get the following error:

(<unknown>:92780): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/Users/arthurb/.julia-test/v0.4/Homebrew/deps/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache': No such file or directory

This likely means that your installation is broken.
Try running the command
  gdk-pixbuf-query-loaders > /Users/arthurb/.julia-test/v0.4/Homebrew/deps/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
to make things work again for the time being.

there are two problems here i believe. first is that nominally gdk-pixbuf 2.34.0 is installed, yet the loader files are stored in a directory named 2.10.0. second is that loaders.cache does not exist.

the relevant issue over at Gtk.jl is JuliaGraphics/Gtk.jl#242. what should i set these variables too?

ENV["GDK_PIXBUF_MODULEDIR"] = joinpath("$(Homebrew.brew_prefix)", "lib/gdk-pixbuf-2.0/2.10.0/loaders")
ENV["GDK_PIXBUF_MODULE_FILE"] = joinpath("$(Homebrew.brew_prefix)", "lib/gdk-pixbuf-2.0/2.10.0/loaders.cache")

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