Mudhoney
Aug 23 2003, 08:28 AM
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
Aug 24 2003, 01:37 AM
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
Aug 24 2003, 04:53 AM
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
Aug 24 2003, 05:20 AM
I use:
export LD_LIBRARY_PATH=/home/yo/servers/27035/hlds_l/:$LD_LIBRARY_PATH
Jim_has_Skillz
Aug 31 2003, 03:52 PM
Oh, thanks, it works perfectly now.
Jim_has_Skillz
Aug 31 2003, 03:55 PM
This should probably be stickied so others can see how to fix the hltv problem in linux.
LaCHiE
Sep 22 2003, 06:16 AM
gg to this thread

saved me alot of time!
Lethy
Sep 22 2003, 08:40 AM
gg to the person who found you the thread too lachie! ;p
Jim_has_Skillz
Sep 23 2003, 05:21 AM
As I said, need to sticky this immediately, its a lot of help.
LaCHiE
Oct 12 2003, 11:34 AM
mm any way to get around having to type that 'export LD_LIB....' stuff each time I login to SSH?
cracker_jackmac
Oct 12 2003, 03:22 PM
yes, add the halflife directory to the ld.so.conf file
verbose
Oct 12 2003, 04:50 PM
| 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
Oct 26 2003, 10:17 AM
bump
Jim_has_Skillz
Nov 12 2003, 10:38 PM
Yikes, this still isn't stickied
instant
Jan 20 2004, 04:59 AM
whoa that helped thx
Jim_has_Skillz
May 9 2004, 03:22 AM
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.