Help - Search - Members - Calendar
Full Version: Hltv Problems
Unknown Worlds Forums > Natural Selection > Natural Selection Discussion > General Server Discussion > Linux Server Support
Mudhoney
having a few issues with HLTV, in fact I can't get it to run for some reason. It returns this error:

QUOTE
./hltv: error while loading shared libraries: libhlwon.so: cannot open shared object file: No such file or directory


i'm running Redhat 9.0 with hlds_l 3.1.1.0 and ns2.0. The .so file is present in the hlds_l directory. hlds runs fine.

Any help much appreciated.
Mudhoney
ok I've fixed this. Not sure if this is the best way...

added the path to the .so file into /etc/ld.so.conf then did a ldconfig -v
Jim_has_Skillz
Meh, I am getting the same error. How did u fix this again? I am still learning linux so a small step by step would be useful, like the exact link to the file.
CheesyPeteza
I use:

export LD_LIBRARY_PATH=/home/yo/servers/27035/hlds_l/:$LD_LIBRARY_PATH

Jim_has_Skillz
Oh, thanks, it works perfectly now.
Jim_has_Skillz
This should probably be stickied so others can see how to fix the hltv problem in linux.
LaCHiE
gg to this thread smile.gif saved me alot of time!
Lethy
gg to the person who found you the thread too lachie! ;p
Jim_has_Skillz
As I said, need to sticky this immediately, its a lot of help.
LaCHiE
mm any way to get around having to type that 'export LD_LIB....' stuff each time I login to SSH?
cracker_jackmac
yes, add the halflife directory to the ld.so.conf file
verbose
QUOTE (LaCHiE @ Oct 12 2003, 06:34 AM)
mm any way to get around having to type that 'export LD_LIB....' stuff each time I login to SSH?

Add the export line to your .bash_profile.

If you use tcsh or csh as your shell, add this to your .tcshrc or .cshrc:

setenv LD_LIBRARY_PATH /home/yo/servers/27035/hlds_l/:$LD_LIBRARY_PATH
(note that there is no equals sign)
LaCHiE
bump
Jim_has_Skillz
Yikes, this still isn't stickied sad.gif
instant
whoa that helped thx smile.gif
Jim_has_Skillz
omg admin, plz sticky this. I keep forgetting and it takes me 10 mins to find it!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.