I cannot save a plot on Julia. The following code
using Plots
plot(1:10)
savefig("test.png")
returns
GKS: dlopen(/Users/brandonlivio/.julia/artifacts/4cab0d575711b60d292e4bd3088c55d27752a8ea/lib/cairoplugin.so, 1): Library not loaded: @rpath/libcairo.2.dylib
Referenced from: /Users/brandonlivio/.julia/artifacts/4cab0d575711b60d292e4bd3088c55d27752a8ea/lib/cairoplugin.so
Reason: Incompatible library version: cairoplugin.so requires version 11603.0.0 or later, but libcairo.2.dylib provides version 2.0.0
"/Users/brandonlivio/test.png"
I have reinstalled julia from scratch, installed only the pakage plots, and the problem persists. I am running on Mac 11.7.10 and using Julia 1.10.5 (the latest stable release)