gdk-pixdump possibly not installed correctly · Issue #121 · JuliaPackaging/Homebrew.jl (original) (raw)

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")