Linux Hlds Install. C++ Library Problem

ZarathustraHZarathustraH Join Date: 2003-03-01 Member: 14180Members
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

Comments

  • p00psm1thp00psm1th Join Date: 2003-02-14 Member: 13558Members
    i am having the same problem. look in the server op forum. there is information there
  • ZarathustraHZarathustraH Join Date: 2003-03-01 Member: 14180Members
    Well I found the solution, for users of Gentoo linux (this wont work on other distributions)

    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...
Sign In or Register to comment.