Linux Hlds Install. C++ Library Problem
ZarathustraH
Join Date: 2003-03-01 Member: 14180Members
in Tech Support
hey all
I'm trying to set up a Natural Selection server (a half life mod) on my gentoo box, and here is the problem I have..
<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
Host_Init
Added packfile /usr/games/hlds_l/valve/pak0.pak (985 files)
Protocol version 46
Exe version 3.1.1.0
Exe build: 14:17:24 Sep 26 2002 (2163)
WON Auth Server
Server IP address
LoadLibrary failed on /usr/games/hlds_l/ns/dlls/ns_i386.so: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory
Host_Error: Couldn't get DLL API from /usr/games/hlds_l/ns/dlls/ns_i386.so!
FATAL ERROR (shutting down): Host_Error: Couldn't get DLL API from /usr/games/hlds_l/ns/dlls/ns_i386.so!
<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
So it seems to me it cant find the c++ library...
These are the files I find that seem to match the above missing library:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libstdc++.so
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libstdc++.so.5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libstdc++.so.5.0.2
I have tried symlinking libstdc++.so to libstdc++-libc6.2-2.so.3 but that hasnt helped.
Any ideas?
I'm thinking it may be looking in a completely different path... but where?
Any help appreciated,
Matt
I'm trying to set up a Natural Selection server (a half life mod) on my gentoo box, and here is the problem I have..
<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
Host_Init
Added packfile /usr/games/hlds_l/valve/pak0.pak (985 files)
Protocol version 46
Exe version 3.1.1.0
Exe build: 14:17:24 Sep 26 2002 (2163)
WON Auth Server
Server IP address
LoadLibrary failed on /usr/games/hlds_l/ns/dlls/ns_i386.so: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory
Host_Error: Couldn't get DLL API from /usr/games/hlds_l/ns/dlls/ns_i386.so!
FATAL ERROR (shutting down): Host_Error: Couldn't get DLL API from /usr/games/hlds_l/ns/dlls/ns_i386.so!
<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
So it seems to me it cant find the c++ library...
These are the files I find that seem to match the above missing library:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libstdc++.so
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libstdc++.so.5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libstdc++.so.5.0.2
I have tried symlinking libstdc++.so to libstdc++-libc6.2-2.so.3 but that hasnt helped.
Any ideas?
I'm thinking it may be looking in a completely different path... but where?
Any help appreciated,
Matt
Comments
You need to emerge a set of compatability libraries Do this by:
#emerge sys-libs/lib-compat
This will install the libraries needed by NS....
Question is.. Why does NS need these old libraries? CS, DMC and TFC definitely dont...
oh well...