Other .NET/Mesen2: Failed to load [...], error: [...]: ELF file OS ABI invalid

About yesterday I had compiled one of the emulators I use, Mesen2, along with its dependency, .NET 8.0.
I first had to adapt its makefile in order for it to compile properly on my machine, and then the compilation then went just fine.

However, when I try to actually run the thing, both by issuing gmake run and ./bin/linux-x64/Release/linux-x64/publish/Mesen, I get greeted with:
Code:
Failed to load /usr/local/share/dotnet/host/fxr/8.0.20/libhostfxr.so, error: /usr/local/share/dotnet/host/fxr/8.0.20/libhostfxr.so:
ELF file OS ABI invalid
The library libhostfxr.so was found, but loading it from /usr/local/share/dotnet/host/fxr/8.0.20/libhostfxr.so failed
  - Installing .NET prerequisites might help resolve this problem.
     https://go.microsoft.com/fwlink/?linkid=2063370
Failed to resolve libhostfxr.so [/usr/local/share/dotnet/host/fxr/8.0.20/libhostfxr.so]. Error code: 0x80008082
instead.

This is already after I had loaded the linux64.ko module, set ${DOTNET_ROOT} and ${PATH} to their proper values, and also install emulators/linux_base-rl9. Issuing brandelf -t Linux to the program also made no difference whatsoever.
I've also tried installing .NET 8.0 from the official Microsoft website to get the Linux version instead in an attempt to solve what was mentioned on this comment on Reddit, but no luck.

I don't have any other programs that require .NET installed, so I'm not sure if this is the emulator's fault or .NET's. I've seen more people with the same issue, tried the same they tried, and no luck.
 
Yeah, it has absolutely nothing to do with "Installation and maintenance of ports and packages" where you posted it. You also don't appear to be building a new port for it, so "Porting new software" also doesn't apply. This is the most appropriate section.
 
as i mentioned, both: i first tried the port, then the one Microsoft provides, and am currently with the port only

EDIT: nah, i read the post again and realized i implied that instead, my bad
 
seems like this error message doesn't have any solution, every thread i see about it doesn't have any meaningful answers at all···
really wonder what's going on here
 
Back
Top