.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   JKBotti (http://forums.bots-united.com/forumdisplay.php?f=83)
-   -   Workaround for: latest HLDM linux update + jk_botti v1.41 (http://forums.bots-united.com/showthread.php?t=6976)

ghost of evilspy 24-11-2008 19:20

Workaround for: latest HLDM linux update + jk_botti v1.41
 
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() {



All times are GMT +2. The time now is 12:36.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.