# C:\\Users\\MMMM\\.julia\\artifacts\\GUID\\bin\\librsvg-2-2.dll is either not designed to run on Windows or it contains an error

**URL:** <https://discourse.julialang.org/t/c-users-mmmm-julia-artifacts-guid-bin-librsvg-2-2-dll-is-either-not-designed-to-run-on-windows-or-it-contains-an-error/131465>\
**Category:** New to Julia\
**Tags:** package\
**Created:** [August 8, 2025, 4:05am UTC](https://discourse.julialang.org/t/c-users-mmmm-julia-artifacts-guid-bin-librsvg-2-2-dll-is-either-not-designed-to-run-on-windows-or-it-contains-an-error/131465 "2025-08-08T04:05:44Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![tdm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tdm/32/213999_2.png) [@tdm](https://discourse.julialang.org/u/tdm)\
**Post date:** [August 8, 2025, 4:05am UTC](https://discourse.julialang.org/t/c-users-mmmm-julia-artifacts-guid-bin-librsvg-2-2-dll-is-either-not-designed-to-run-on-windows-or-it-contains-an-error/131465/1 "2025-08-08T04:05:44Z")

</div>

Anytime I am trying to add a package that uses vector graphics, it fails precompilation with the window popup error:  
“C:\Users\MMMM.julia\artifacts\GUID\bin\librsvg-2-2.dll is either not designed to run on Windows or it contains an error…”

Examples of failing packages:

✗ Gtk  
✗ Rsvg  
✗ GtkReactive  
✗ Luxor  
✗ Javis

I tried installing a new version of MINGW but Idk how Julia is using this dll and where is it taking it from.

I used Library() from DependencyWalker and I put the path to librsvg-2-2.dll.  
Here is the result:  
◼ C:/Users/MMM/.julia/artifacts/a4fc68e8895ecbaf6a8d263c8c4ab2e6326f0ec5/bin/librsvg-2-2.dll  
✗ libcairo-gobject-2.dll (NOT FOUND)  
✗ libglib-2.0-0.dll (NOT FOUND)  
✗ libpangocairo-1.0-0.dll (NOT FOUND)  
◼ C:\Users\MMM.julia\juliaup\julia-1.11.6+0.x64.w64.mingw32\bin\libgcc\_s\_seh-1.dll  
◼ C:\Users\MMM.julia\juliaup\julia-1.11.6+0.x64.w64.mingw32\bin\libwinpthread-1.dll  
◼ C:\Windows\System32\msvcrt.dll  
◼ C:\Windows\System32\KERNELBASE.dll  
◼ C:\Windows\System32\KERNEL32.DLL  
◼ C:\Windows\System32\KERNELBASE.dll  
◼ C:\Windows\System32\msvcrt.dll  
◼ C:\Windows\System32\KERNELBASE.dll  
◼ C:\Windows\System32\KERNEL32.DLL  
◼ C:\Windows\System32\KERNELBASE.dll  
◼ C:\Windows\System32\bcryptPrimitives.dll  
✗ libxml2-2.dll (NOT FOUND)  
◼ C:\Windows\System32\msvcrt.dll  
◼ C:\Windows\System32\KERNELBASE.dll  
✗ libgdk\_pixbuf-2.0-0.dll (NOT FOUND)  
◼ C:\Windows\System32\KERNEL32.DLL  
◼ C:\Windows\System32\KERNELBASE.dll  
◼ C:\Windows\SYSTEM32\USERENV.dll  
◼ C:\Windows\System32\RPCRT4.dll  
◼ C:\Windows\System32\KERNELBASE.dll  
✗ libgobject-2.0-0.dll (NOT FOUND)  
◼ C:\Windows\System32\WS2\_32.dll  
◼ C:\Windows\System32\RPCRT4.dll  
◼ C:\Windows\System32\KERNELBASE.dll  
✗ libcairo-2.dll (NOT FOUND)  
✗ libpango-1.0-0.dll (NOT FOUND)  
✗ libgio-2.0-0.dll (NOT FOUND)

Any suggestions?  
Thanks!

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [August 8, 2025, 4:18am UTC](https://discourse.julialang.org/t/c-users-mmmm-julia-artifacts-guid-bin-librsvg-2-2-dll-is-either-not-designed-to-run-on-windows-or-it-contains-an-error/131465/2 "2025-08-08T04:18:31Z")

</div>

Did you try to delete the artifact and re-install it?

---

<div class="post-metadata">

**Author:** ![tdm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tdm/32/213999_2.png) [@tdm](https://discourse.julialang.org/u/tdm)\
**Post date:** [August 8, 2025, 4:38am UTC](https://discourse.julialang.org/t/c-users-mmmm-julia-artifacts-guid-bin-librsvg-2-2-dll-is-either-not-designed-to-run-on-windows-or-it-contains-an-error/131465/3 "2025-08-08T04:38:08Z")

</div>

I removed the librsvg-2-2.dll from the .julia/artifacts/GUID folder, remove packages that failed precompilation and reinstalled them.  
Now it cannot find the module:  
“Failed to precompile Javis [78b212ba-a7f9-42d4-b726-60726080707e] to “C:\Users\MMM\.julia\compiled\v1.11\Javis\jl\_9101.tmp”.  
ERROR: LoadError: InitError: could not load library “C:\Users\MMM.julia\artifacts\a4fc68e8895ecbaf6a8d263c8c4ab2e6326f0ec5\bin\librsvg-2-2.dll”  
The specified module could not be found.”

What do I need to do to recreate the artifact?

---

<div class="post-metadata">

**Author:** ![tdm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tdm/32/213999_2.png) [@tdm](https://discourse.julialang.org/u/tdm)\
**Post date:** [August 8, 2025, 4:40am UTC](https://discourse.julialang.org/t/c-users-mmmm-julia-artifacts-guid-bin-librsvg-2-2-dll-is-either-not-designed-to-run-on-windows-or-it-contains-an-error/131465/4 "2025-08-08T04:40:01Z")

</div>

BTW this is in a new empty environment created with ] activate .  
It looks like the artifacts are global how do I trigger recreation?

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [August 8, 2025, 4:45am UTC](https://discourse.julialang.org/t/c-users-mmmm-julia-artifacts-guid-bin-librsvg-2-2-dll-is-either-not-designed-to-run-on-windows-or-it-contains-an-error/131465/5 "2025-08-08T04:45:36Z")

</div>

There is a folder:

```julia-auto
.julia/compiled/v1.11/<packagename>

```

which you can delete.

You can also delete:

```julia-auto
.julia/packages/<packagename>

```

And then re-install the package.

---

<div class="post-metadata">

**Author:** ![tdm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tdm/32/213999_2.png) [@tdm](https://discourse.julialang.org/u/tdm)\
**Post date:** [August 8, 2025, 5:17am UTC](https://discourse.julialang.org/t/c-users-mmmm-julia-artifacts-guid-bin-librsvg-2-2-dll-is-either-not-designed-to-run-on-windows-or-it-contains-an-error/131465/6 "2025-08-08T05:17:27Z")

</div>

Tried it multiple times (deleting all Gtk, Rsvg, Luxor, Javis from packages and compiled) - package fails precompilation because it cannot find the dll:  
"PkgPrecompileError: The following 1 direct dependency failed to precompile:

Javis

Failed to precompile Javis [78b212ba-a7f9-42d4-b726-60726080707e] to “C:\Users\MMM\.julia\compiled\v1.11\Javis\jl\_5D96.tmp”.  
ERROR: LoadError: InitError: could not load library “C:\Users\MMM.julia\artifacts\a4fc68e8895ecbaf6a8d263c8c4ab2e6326f0ec5\bin\librsvg-2-2.dll”  
The specified module could not be found.

during initialization of module Librsvg\_jll  
in expression starting at C:\Users\MMM.julia\packages\Gtk\JDeJF\src\Gtk.jl:2  
in expression starting at stdin:6  
ERROR: LoadError: Failed to precompile Gtk [4c0ca9eb-093a-5379-98c5-f87ac0bbbf44] to “C:\Users\MMM\.julia\compiled\v1.11\Gtk\jl\_60D1.tmp”.

It looks like I need to reinstall Julia or at least remove all artifacts and start from scratch…

---

<div class="post-metadata">

**Author:** ![tdm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tdm/32/213999_2.png) [@tdm](https://discourse.julialang.org/u/tdm)\
**Post date:** [August 8, 2025, 5:28am UTC](https://discourse.julialang.org/t/c-users-mmmm-julia-artifacts-guid-bin-librsvg-2-2-dll-is-either-not-designed-to-run-on-windows-or-it-contains-an-error/131465/7 "2025-08-08T05:28:19Z")

</div>

I think I found it - I had to remove module “Librsvg\_jll” just like it said in the error message:

“during initialization of module Librsvg\_jll”

Thanks, I think that solved it!

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [August 8, 2025, 7:14am UTC](https://discourse.julialang.org/t/c-users-mmmm-julia-artifacts-guid-bin-librsvg-2-2-dll-is-either-not-designed-to-run-on-windows-or-it-contains-an-error/131465/8 "2025-08-08T07:14:54Z")

</div>

> [@tdm](#):
>
> I think that solved it!

It did not. Nothing suggested above did anything to solve the problem, because it possibly couldn’t. What solved your issue was

> <https://github.com/JuliaRegistries/General/pull/136191>
>
> This version is very broken on windows.
> https://github.com/JuliaPackaging/Yggdr…asil/issues/11804
