# Cannot load SVG files with Gtk.jl

**URL:** <https://discourse.julialang.org/t/cannot-load-svg-files-with-gtk-jl/46655>\
**Category:** General Usage\
**Tags:** gtk\
**Created:** [September 15, 2020, 7:03pm UTC](https://discourse.julialang.org/t/cannot-load-svg-files-with-gtk-jl/46655 "2020-09-15T19:03:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xor0110](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xor0110/32/7926_2.png) [@xor0110](https://discourse.julialang.org/u/xor0110)\
**Post date:** [September 15, 2020, 7:03pm UTC](https://discourse.julialang.org/t/cannot-load-svg-files-with-gtk-jl/46655/1 "2020-09-15T19:03:14Z")

</div>

When loading a svg image inside a GtkImage widget, I get a “missing image” icon. If I load the image from within a Glade UI I also get an error message.

```julia
(julia:18273): Gtk-WARNING **: 21:00:53.077: Could not load image 'Gtk-refresh.svg': Couldn’t recognize the image file format for file “/home/user/src/spintest/Gtk-refresh.svg”
GtkBuilderLeaf(translation-domain=NULL)

```

The GtkSpinner widget also doesn’t show anything for me, presumably because it’s trying to load SVG data.

From what I understand Gtk needs some library such as librsvg in order to render the svg files into a GDK pixbuf. Apparently something is missing to connect Gtk to this library in my machine. Do spinners work for anyone? Do I need a specific version of this library, perhaps? Or is there anything missing in the Julia code to make this connection?
