All of my packages dependent on librsvg-2-2.dll have suddenly stop working. I can confirm there is a file present in “bin”. I get a library could not load error. All packages were working until I did an update in package manager.
How do I proceed in troubleshooting this?
Sigh. Your operating system knows what library can’t be found, but it doesn’t tell you, it’s very frustrating. What you could try is to do
using DependencyWalker
using Luxor # this will fail, it's fine, it's what we want
Library("/path/to/librsvg...") # put here the actual path
Hopefully this will print what library can’t be found.
Side note, please don’t post screenshot, they’re hard to read and readers can’t copy-past code, see Please read: make it easier to help you.
Thank you very much, and thank you for guide. I will keep this in mind for future reference.
DependencyWalker has identified libpangocairo-1.0-0.dll, libxml2-2.dll, and libgdk_pixbuf-2.0-0.dll as missing. I shall investigate this.
I can’t seem to reproduce the issue on my Windows 11 computer, can you please share the output of:
using Pkg
versioninfo()
pkg"st --manifest"
Sure. Here is the output.
julia> versioninfo()
Julia Version 1.11.5
Commit 760b2e5b73 (2025-04-14 06:53 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: 24 × 12th Gen Intel(R) Core(TM) i9-12950HX
WORD_SIZE: 64
LLVM: libLLVM-16.0.6 (ORCJIT, alderlake)
Threads: 1 default, 0 interactive, 1 GC (on 24 virtual cores)
(@v1.11) pkg> st
Status `C:\Users\nick.rode\.julia\environments\v1.11\Project.toml`
[7db386b5] DependencyWalker v0.1.2
[e9467ef8] GLMakie v0.13.1
[7073ff75] IJulia v1.29.0
[916415d5] Images v0.26.2
[ae8d54c2] Luxor v4.3.0
[e1fe445b] NativeFileDialog v0.2.1
[91a5bcdd] Plots v1.40.14
I am receiving the following message after adding the missing .dll files.
julia.exe - Entry Point Not Found
The procedure entry point DIIMain could not be located in the
dynamic link library
C:\Users\nick.rode\.julia\artifacts\5c9c5be2b9f7c41cbc4ed9ec3925b2c
However, I can confirm that the file is there. Perhaps there is something more deeply wrong with my system.
As I said, everything was working yesterday.
The main change yesterday was the update of Glib from 2.84.0 to 2.84.3
If you run:
pkg> add Glib_jll@2.84.0
That might be a temporary fix.
I am having the same problem with librsvg-2-.2.dll
Comparing the list of dependencies in Security - Development guide for librsvg documentation with what is in Yggdrasil/L/Librsvg/build_tarballs.jl at dde65afd431c7fd42cccc7cc2038cca29b394845 · JuliaPackaging/Yggdrasil · GitHub
It looks like there are missing dependencies on libxml2, cairo, freetype2, harfbuzz, and fontconfig
While it’s better to explicitly list all required dependencies instead of relying on indirect dependencies, all those libraries should already be brought by other deps: JuliaHub
Okay, I think the only package missing is XML2_jll@2.13, which isn’t brought in by the new version of Glib, I guess JuliaHub hasn’t updated yet.
Also, I can reproduce this issue on my computer if I launch julia using PowerShell. If I use Git Bash I don’t get the error.
Ah, that’d explain the issue then. And yes, explicitly listing the required deps is always a good idea.
Thank you so much everyone.
Setting and pinning the version of Glib_jll to 2.84.0 has everything up and working again.
Also, DependencyWalker is a helpful tool.
The new version of Librsvg_jll (v2.54.7) should work now.