Jump to content

Recommended Posts

Posted

Good afternoon, 

I'm going to be putting together a new server and I'm considering installing FreeBSD.  Has anyone tried running Vintage Story Server on FreeBSD yet?

  • 2 weeks later...
Posted

I tried by installing dotnet8 and changing the VintagestoryServer.runtimeconfig.json to use version 8, but it looks like it tries using some 32bit libraries, I tried searching for 'kernel32.dll' on my linux server running a server, but couldn't find the file? Heres the error from running it:

I also saw in another post (Linux distros/configurations under which VS is known to run) that openBSD has the same issue by CaffinatedCoder

Quote

Completely broken on OpenBSD. Attempts to load 32-bit libraries instead of 64-bit libraries. Server is also broken on OpenBSD for similar reasons as far as I can tell, but gets a bit further.

Vintagestory version 1.20.5

#dotnet VintagestoryServer.dll --dataPath "/var/vintagestory/data"
Unhandled exception. System.DllNotFoundException: Unable to load shared library 'kernel32.dll' or one of its dependencies. In order to help diagnose loading problems, consider using a tool like strace. If you're using glibc, consider setting the LD_DEBUG environment variable: 
Cannot open "/home/vintagestory/server/kernel32.dll.so"
Cannot open "/usr/local/dotnet/shared/Microsoft.NETCore.App/8.0.6/kernel32.dll.so"
Shared object "kernel32.dll.so" not found, required by "dotnet"
Cannot open "/home/vintagestory/server/libkernel32.dll.so"
Cannot open "/usr/local/dotnet/shared/Microsoft.NETCore.App/8.0.6/libkernel32.dll.so"
Shared object "libkernel32.dll.so" not found, required by "dotnet"
Cannot open "/home/vintagestory/server/kernel32.dll"
Cannot open "/usr/local/dotnet/shared/Microsoft.NETCore.App/8.0.6/kernel32.dll"
Shared object "kernel32.dll" not found, required by "dotnet"
Cannot open "/home/vintagestory/server/libkernel32.dll"
Cannot open "/usr/local/dotnet/shared/Microsoft.NETCore.App/8.0.6/libkernel32.dll"
Shared object "libkernel32.dll" not found, required by "dotnet"

   at ConsoleWindowUtil.NativeFunctions.GetStdHandle(Int32 nStdHandle)
   at ConsoleWindowUtil.QuickEditMode(Boolean Enable) in C:\Users\Tyron\Documents\vintagestory\game\VintagestoryLib\Server\ConsoleWindowUtil.cs:line 49
   at Vintagestory.Server.ServerProgram.Main(String[] args) in C:\Users\Tyron\Documents\vintagestory\game\VintagestoryLib\Server\ServerProgram.cs:line 31
   at Vintagestory.ServerLinux.Main(String[] args) in C:\Users\Tyron\Documents\vintagestory\game\VintagestoryServer\Linux\ServerLinux.cs:line 9
Abort trap (core dumped

If you want to run it on FreeBSD now, I would look into using the Linux Compatibility layer

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.