PDA

View Full Version : HLTV gives me an ERROR


Karmy
01-07-2004, 05:16 PM
I just setup HLDS on my REDHAT9 and it gives me this error When i type "./hltv" and i cant seem to find hltv.cfg:

Console initialized.
FileSystem initialized.
Error:libSteamValidateUserIDTickets_i386.so: cannot open shared object file: No such file or directory
***** FATAL ERROR *****
Proxy::Init: couldn't load network module.
*** STOPPING SYSTEM ***
ERROR! System::AddModule: couldn't initialize module (null).
Type 'help' for a list of commands.
exit

Anyone know th eproblem with that? Please if u do help me=)

r3d3y3s
01-07-2004, 10:04 PM
ditto, i got exactly the same thing trying to start a hltv server to spectate my cs server.(i do have a hltv.cfg tho)

both on linux box.

Nathan D.
01-09-2004, 03:00 AM
Same here....Does anyone have any answers?!

Redmist
01-09-2004, 02:10 PM
Copy all of the lib*.so files from the HLDS folder to /lib

Nathan D.
01-09-2004, 03:38 PM
...............

Redmist
01-09-2004, 05:39 PM
No! lib as in /lib not /hlds_l/lib

you know.....as in cd /lib

obviously you need to log in as root.....

ask your admin if it's not your linux box....

Arcturus
01-10-2004, 10:31 AM
If i move all those lib files to the /lib folder.. then how am i suppose to run multiple sessions of HLTV, or it wouldnt matter for those .so files to override each other

Nathan D.
01-10-2004, 10:58 AM
Works perfectly...Thanks man.

Arcturus
01-10-2004, 11:22 AM
Hmm can you post a version of your config

r3d3y3s
01-10-2004, 06:26 PM
yups nice one :) thanks, copied those lib files to /lib and works nicely.

im getting a warning saying it cant find the director files now or something to with them.
but still works fine tho.

Nathan D.
01-11-2004, 07:02 AM
Originally posted by r3d3y3s
yups nice one :) thanks, copied those lib files to /lib and works nicely.

im getting a warning saying it cant find the director files now or something to with them.
but still works fine tho.
same here but no problems :P

Rahil
02-28-2004, 08:22 AM
This really needs to be made sticky.

mulvinator
03-01-2004, 09:36 AM
That fix worked for me... but I had to login as root to do it. (Kinda lame when a game makes you do that).

And I agree, this should be stickied. It happened to my "previously working last week" HLTV server.

Rahil
03-01-2004, 12:38 PM
All the readmes and tutorials I've read say nothing about this error, yet it's the most common.

bunjiboys
03-27-2004, 08:42 AM
You dont have to copy the libs. The problem is that . (current working dir) isnt in your LD_LIBRARY_PATH. Instead of copying the libs to a place theyre not supposed to be, you can use the script below:


#/bin/sh
# hltv_run - Script for starting the HLTV server
# Created by bunjiboys - Asbjoern Zweidorff Kjaer
# Comments, questions etc. can be sent to bunjiboys@bunjiboys.dk

# Export the lib path
export LD_LIBRARY_PATH=".:$LD_LIBRARY_PATH"

[ -x ./hltv ]; then
./hltv $@
fi


Copy the lines above to a file in your top hlds folder (the one containing the hlds_run and hltv binaries), to a file called hltv_run. Then make it executable, chmod +x hltv_run

Now youre able to use ./hltv_run options just as if it was the normal hltv, but with a fix for the lib path :)

RItalMan
03-31-2004, 11:29 AM
You did a mistake in your script, you missed an "if" before the

[ -x ./hltv ]; then

Thank you for your tip !

bunjiboys
04-01-2004, 06:12 AM
Actually, its not required. At least not on any of the machines I've got at home (2 FreeBSD and one Debian Linux), since the [ it self is a registered command subsiding in /bin/[.

You can even do a 'man [' :)

RItalMan
04-01-2004, 07:20 AM
I had a Debian too, and I was told by the system there is an error :

using your script :

#/bin/sh
export LD_LIBRARY_PATH=".:$LD_LIBRARY_PATH"
[ -x ./hltv ]; then
./hltv $@
fi

returns :

./hltv_run: line 3: syntax error near unexpected token `then'
./hltv_run: line 3: `[ -x ./hltv ]; then'


when puting an if, it works perfectly. It's probably a problem of interpreter, i'm using bash and think it is due to that.

Malum
10-29-2004, 01:52 AM
Originally posted by bunjiboys
You dont have to copy the libs. The problem is that . (current working dir) isnt in your LD_LIBRARY_PATH. Instead of copying the libs to a place theyre not supposed to be, you can use the script below:


#/bin/sh
# hltv_run - Script for starting the HLTV server
# Created by bunjiboys - Asbjoern Zweidorff Kjaer
# Comments, questions etc. can be sent to bunjiboys@bunjiboys.dk

# Export the lib path
export LD_LIBRARY_PATH=".:$LD_LIBRARY_PATH"

[ -x ./hltv ]; then
./hltv $@
fi


Copy the lines above to a file in your top hlds folder (the one containing the hlds_run and hltv binaries), to a file called hltv_run. Then make it executable, chmod +x hltv_run

Now youre able to use ./hltv_run options just as if it was the normal hltv, but with a fix for the lib path :)

Asbjørn du holder for hårdt... Tak for hjælpen.

pl4tinum
10-29-2004, 06:29 AM
Totally ,agree, admins please sticky this thread. VERY IMportant info... I have been searching for this for a while, and on several occasions.