Skip to content

Fix missing _srv prefix for dedicated server build#1922

Open
Masterkatze wants to merge 5 commits intoNeotokyoRebuild:masterfrom
Masterkatze:cmake_dedicated_fix
Open

Fix missing _srv prefix for dedicated server build#1922
Masterkatze wants to merge 5 commits intoNeotokyoRebuild:masterfrom
Masterkatze:cmake_dedicated_fix

Conversation

@Masterkatze
Copy link
Copy Markdown
Contributor

@Masterkatze Masterkatze commented Apr 4, 2026

Description

To run dedicated server on Linux we have to create _srv.so -> .so symlinks, which should not be necessary. This need is caused by 2 issues:

  1. While building dedicated server shared library we link it to vstdlib and tier0 libraries, which has no _srv suffix. Simply renaming these libraries before building is enough to fix.
  2. _DLL_EXT compile definition which is used in DLL_EXT_STRING macro contained no _srv suffix for dedicated build, which made it necessary to create symlinks for soundemittersystem and scenefilecache libraries. This issue was introduced while moving to CMake build system.

Toolchain

  • Linux GCC Distro Native [Arch Linux, GCC 15.2.1 20260209]

Linked Issues

@Masterkatze Masterkatze requested a review from a team April 4, 2026 17:22
@Masterkatze Masterkatze added Bug Report Bug Reports made through the "Report Issue" interface in GitHub. Build System CMake and other build-related stuff labels Apr 4, 2026
@Masterkatze Masterkatze changed the title Cmake dedicated fix Fix missing _srv prefix for dedicated server build Apr 4, 2026
@Masterkatze Masterkatze force-pushed the cmake_dedicated_fix branch from 56055c6 to d2e1d3c Compare April 4, 2026 19:26
@Masterkatze Masterkatze force-pushed the cmake_dedicated_fix branch from d2e1d3c to 786aace Compare April 4, 2026 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Report Bug Reports made through the "Report Issue" interface in GitHub. Build System CMake and other build-related stuff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Steam Dedicated Server does not launch on Linux

1 participant