I keep recieving this error on Linux
I installed dotnet from this link
https://learn.microsoft.com/en-us/dotnet/core/install/linux?WT.mc_id=dotnet-35129-websiteI am on Linux mint 22.1 and I installed the debian 12 package. I did try deleting it and did a manual install of dotnet 9 and it still didnt work.
alex@colonthree:~/Downloads/linux-x64$ ./osu\!
Unhandled exception. System.TypeInitializationException: The type initializer for 'Microsoft.Xna.Framework.FNAPlatform' threw an exception.
—> System.IO.FileLoadException: Failed to load native library: SDL2!
at Microsoft.Xna.Framework.NativeLibraryResolver.ResolveLibrary(String libraryName, Assembly assembly, Nullable`1 dllImportSearchPath)
at System.Runtime.InteropServices.NativeLibrary.LoadLibraryCallbackStub(String libraryName, Assembly assembly, Boolean hasDllImportSearchPathFlags, UInt32 dllImportSearchPathFlags)
at SDL2.SDL.INTERNAL_SDL_GetPlatform()
at SDL2.SDL.SDL_GetPlatform()
at Microsoft.Xna.Framework.SDL2_FNAPlatform.ProgramInit(LaunchParameters args)
at Microsoft.Xna.Framework.FNAPlatform..cctor()
— End of inner exception stack trace —
at Microsoft.Xna.Framework.Game..ctor()
at GeckoEngine.GeckoGame..ctor()
at AddPlayerToGroup Read GetTypesFromInterface.GetCommand..ctor(String startupFile)
at <FixedUpdate>b__4_0 Titanic logRCON.ExternalAssemblyLoad.Log get_AllowedCaller LoadPlugin.ParseUInt32()
Aborted (core dumped)