View Single Post
printf
Junior Member
Join Date: Apr 2013
Old 05-31-2014 , 22:19   Re: Source Dedicated Server for Mac OS X
Reply With Quote #143

I've found that newer versions of dedicated.dylib depend upon a symbol titled '_LOG_GENERAL' that isn't supplied by anything:
Code:
localhost:Counter-Strike Source srcds$ ./srcds_osx -game cstrike
Failed to open dedicated.dylib (dlopen(dedicated.dylib, 2): Symbol not found: _LOG_GENERAL
  Referenced from: /Users/srcds/Library/Application Support/Steam/SteamApps/common/Counter-Strike Source/bin/dedicated.dylib
  Expected in: /Users/srcds/Library/Application Support/Steam/SteamApps/common/Counter-Strike Source/bin/libtier0.dylib
 in /Users/hlds/Library/Application Support/Steam/SteamApps/common/Counter-Strike Source/bin/dedicated.dylib)
localhost:Counter-Strike Source srcds$ nm bin/dedicated.dylib | grep _LOG_GENERAL
         U _LOG_GENERAL
In CS:GO, libtier0.dylib supplies this '_LOG_GENERAL.'
Code:
localhost:bin srcds$ nm csgo-libs-osx/libtier0.dylib | grep _LOG_GENERAL
00015568 S _LOG_GENERAL
When I try to use the libtier0.dylib from CS:GO, it causes more symbol dependency issues:
Code:
localhost:Counter-Strike Source srcds$ ./srcds_osx -game cstrike
Failed to open dedicated.dylib (dlopen(dedicated.dylib, 2): Symbol not found: __ZN7CThread5StartEj
  Referenced from: /Users/srcds/Library/Application Support/Steam/SteamApps/common/Counter-Strike Source/bin/libvstdlib.dylib
  Expected in: /Users/srcds/Library/Application Support/Steam/SteamApps/common/Counter-Strike Source/bin/libtier0.dylib
)
printf is offline