View Single Post
Workaround for: latest HLDM linux update + jk_botti v1.41
Old
  (#1)
ghost of evilspy
Moderator
 
ghost of evilspy's Avatar
 
Status: Offline
Posts: 140
Join Date: Mar 2005
Location: Finland
Default Workaround for: latest HLDM linux update + jk_botti v1.41 - 24-11-2008

Linux jk_botti v1.41 is missing one library link (to libm (c math library)). New hlds/hldm update from Valve made this bug appear since hlds no longer load libm. Workaround is to add line 'export LD_PRELOAD="/usr/lib/libm.so:$LD_PRELOAD"' to your "hlds/hlds_run" script.

After modification begining of hlds_run should look like:
Code:
#!/bin/sh
#
#       Copyright (c) 2002, Valve LLC. All rights reserved.
#
#       a wrapper script for the main hl dedicated server binary.
#       Performs auto-restarting of the server on crash. You can
#       extend this to log crashes and more.
#

# setup the libraries, local dir first!
export LD_LIBRARY_PATH=".:$LD_LIBRARY_PATH"
export LD_PRELOAD="/usr/lib/libm.so:$LD_PRELOAD"

init() {
  
Reply With Quote