Pro/Forums

Pro/Forums (http://forums.procooling.com/vbb/index.php)
-   Random Nonsense / Geek Stuff (http://forums.procooling.com/vbb/forumdisplay.php?f=15)
-   -   Half Life Dedicated Server on Linux Problem (http://forums.procooling.com/vbb/showthread.php?t=3186)

SonixOS 05-20-2002 04:41 PM

Half Life Dedicated Server on Linux Problem
 
Here's a screen dump
[chad@localhost hlds_l]$ ./hlds_run
Auto-restarting the server on crash
libSteamValidateUserIDTickets.so: cannot open shared object file: No such file or directory
Add "-debug" to the ./hlds_run command line to generate a debug.log to help with solving this problem
Mon May 20 17:42:58 EDT 2002: Server Died


any ideas?

-sonix-

krp 05-20-2002 04:52 PM

that sez you should have a shared-runtime-library file named:

libSteamValidateUserIDTickets.so

someplace on the system, typically in /lib, /usr/lib or suchlike directory... and the runtime loader is not finding it in any of the usual places.

Assuming you actually HAVE the aforementioned file someplace else, you may need to add the path to it to the

/etc/ld.so.conf

file, and run the command:

# ldconfig -v

To add the library path to the runtime loader's search list.

SonixOS 05-20-2002 05:05 PM

slow down man.
so i am missing a library. gotcha
now to add iti go to /etc/ld.so.conf and append to the end of it # ldconfig -v and then i'm all straight?

-sonix-

Nordic 05-21-2002 10:32 AM

Actually, the script that comes with the server should work perfectly for you.. in fact the third line in the "linuxreadme.txt" file reads:
Start the server by running ./hlds_run

It will setup environment variables so that the run-time linker will find the missing libraries.

SonixOS 05-21-2002 07:38 PM

If you look at my screen dump thats the first line. I did type that and it gave me that error message. BTW- do u have any idea how i can run the .bin file for hlds_l_3109_full.bin @ fileplanet?

- sonix -

Nordic 05-22-2002 10:14 AM

Oops, didn't see that .. had my mind all set on you trying to run just "hlds". But then you should do as they say, get a debug.log file.

The hlds_run script prepends the current directory (".') to the dynamic linker search path:

Code:

export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
Of the .so file is missing, then it probably is. :)
It should exist in the same directory as the hlds_run script.

Oh, and if you want to run something that is a script (like the .bin file probably is, Quake3 comes as a compressed script as well), you will have to make sure that the "x" flag is set on the file for the user you have access to the file with.

Code:

chmod a+x scriptfile
Set x flag for all privilege levels (owner,group,others), or

Code:

chmod 755 scriptfile
will also do what you want but does more than just set the x the flag.


All times are GMT -5. The time now is 02:13 AM.

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
(C) 2005 ProCooling.com
If we in some way offend you, insult you or your people, screw your mom, beat up your dad, or poop on your porch... we're sorry... we were probably really drunk...
Oh and dont steal our content bitches! Don't give us a reason to pee in your open car window this summer...