diff --git a/src/Resizetizer/src/SkiaSharpTools.Initializer.cs b/src/Resizetizer/src/SkiaSharpTools.Initializer.cs index 1634efa..ea234f1 100644 --- a/src/Resizetizer/src/SkiaSharpTools.Initializer.cs +++ b/src/Resizetizer/src/SkiaSharpTools.Initializer.cs @@ -234,7 +234,7 @@ static IntPtr ImportResolver(string libraryName, Assembly assembly, DllImportSea public static extern IntPtr LoadLibrary(string dllToLoad); // declare a dllimport for dlopen - [DllImport("libdl.so", EntryPoint = "dlopen")] + [DllImport("libdl.so.2", EntryPoint = "dlopen")] public static extern IntPtr dlopen_linux(string fileName, int flags); // declare dllimport for dlopen on macos