After installing Dotnet 8 on Deb linux, I can run the dotnet CLI command, but none of the DLLs I try to launch know where anything else dotnet-related is.
An example of the error:
A fatal error was encountered. The library 'libhostpolicy.so' required to execute the application was not found in '/home/osim/opensim/bin/'.
Failed to run as a self-contained app.
- The application was run as a self-contained app because '/home/osim/opensim/bin/OpenSim.Services.UserAccountService.runtimeconfig.json' was not found.
- If this should be a framework-dependent app, add the '/home/osim/opensim/bin/OpenSim.Services.UserAccountService.runtimeconfig.json' file and specify the appropriate framework.
osim@osim:/usr/share/dotnet$ dotnet --list-sdks
8.0.421 [/usr/share/dotnet/sdk]
That library, and everything else, is installed in /usr/share/dotnet. It's almost like that path isn't exported so that the binary knows where to find it.
I'm not familiar with runtimeconfig.json. It's not anywhere on the server. Does that provide information on where the SDK is located so that the binaries that depend on it can run?
Thanks.