Ns Server Problem

Grimm_SpectorGrimm_Spector Join Date: 2002-11-01 Member: 3309Members, Constellation
<div class="IPBDescription">Need a lil help with my server, it dies!</div> Alright, I'm running my server on a Linux box, latest hlds_l and all, and CS and TFC run fine, but I don't get anything working properly when I go run NS, I get the following output:

<!--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-->
L 01/22/2003 - 20:56:22: [META] Metamod v1.13.1, 2002/10/06
L 01/22/2003 - 20:56:22: [META] by Will Day <willday@metamod.org>
L 01/22/2003 - 20:56:22: [META]    <a href='http://www.metamod.org/' target='_blank'>http://www.metamod.org/</a>
L 01/22/2003 - 20:56:22: [META] compiled: Oct  6 2002, 18:49:00 Eastern (optimized)
L 01/22/2003 - 20:56:22: [META] Gamedll specified via localinfo: dlls/ns_i386.so
L 01/22/2003 - 20:56:22: [META] Overriding game 'ns' with dllfile 'ns_i386.so'
L 01/22/2003 - 20:56:22: [META] ERROR: dll: Couldn't load game DLL /home/games/halflife/Will14player/hlds_l/ns/dlls/ns_i386.so: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory
L 01/22/2003 - 20:56:22: [META] ERROR: Failure to load game DLL; exiting...
Add "-debug" to the ./hlds_run command line to generate a debug.log to help with solving this problem
Wed Jan 22 20:56:25 EST 2003: Server Died<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->

Why is it doing this? The file was binary transfered to the server, so it shouldn't be having this trouble. The include file (libstd.c) a standard C library should already be included in the compiled .so file, but it's saying it can't find it....HELP!

Grimm Spector <!--emo&::skulk::--><img src='http://www.unknownworlds.com/forums/html/emoticons/skulk.gif' border='0' valign='absmiddle' alt='skulk.gif'><!--endemo-->

Comments

  • [WHO]Them[WHO]Them You can call me Dave Join Date: 2002-12-11 Member: 10593Members, Constellation
    I'm not absolutely 100% sure on this, but it sounds to me like you have 3 options.....

    install the latest gcc updates and "libstdc"(not sure on the name) updates....

    if that doesnt work, then find an .so with a name similar to the one you're missing but hopefully of a higher version number and symlink it to be the file that's missing

    go and straight copy that missing .so from some other computer right into wherever your other libstcc++ .so's are



    again, I only know enough about linux to get around from day to day, if someone has a better solution then please ignore mine
  • Grimm_SpectorGrimm_Spector Join Date: 2002-11-01 Member: 3309Members, Constellation
    I'll try that, flayra seems to have just pinned something about something similar to this, I'm looking there as well.

    Grimm Spector <!--emo&::skulk::--><img src='http://www.unknownworlds.com/forums/html/emoticons/skulk.gif' border='0' valign='absmiddle' alt='skulk.gif'><!--endemo-->
  • Grimm_SpectorGrimm_Spector Join Date: 2002-11-01 Member: 3309Members, Constellation
    edited January 2003
    Well, need some more help, it didn't work, tried installing the new library and got this:

    <!--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-->rpm -Uvh com*
    Preparing...                ########################################### [100%]
    file /usr/lib/libdb-3.3.so from install of compat-2002.4.12-0 conflicts with file from package db3-devel-3.3.11-6
    <!--c2--></td></tr></table><span class='postcolor'><!--ec2-->

    ....

    I really need to get my linux server going, this shouldn't be so hard, what's wrong with NS?

    HELP?!!!!!!!!!!!!!!!!!!!!!!!!!! <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif'><!--endemo-->

    Grimm Spector <!--emo&::skulk::--><img src='http://www.unknownworlds.com/forums/html/emoticons/skulk.gif' border='0' style='vertical-align:middle' alt='skulk.gif'><!--endemo-->

    edit: put stuff in the CODE box to make it more obvious (nickoli <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo--> )
  • Grimm_SpectorGrimm_Spector Join Date: 2002-11-01 Member: 3309Members, Constellation
    bump...someone needs to actually read this so I can get some help, it's disappearing into the abyss!! <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' valign='absmiddle' alt='sad.gif'><!--endemo-->
  • havenhaven Join Date: 2002-11-15 Member: 8767Members
    The problem is this - your version of the libstdc library is a different version to the one that the game expects/needs to run.

    If I had read this earlier I would have said "DONT UPGRADE YOUR GCC LIBRARIES !!!!!". All this will do is land you in a world of pain. Messing with gcc is a sure way to hose your box unfortunately. Its not your system that is out of date - its the library that NS requires to run that is old.

    Information we need is this: What flavour and version of linux are you running. What version of gcc are you running ?

    The error clearly states that the NS game code is requiring the shared library file libstdc++-libc6.1-1.so.2. Do you have a copy of this on your system ( I doubt it as this would not be a problem if you did).

    I can outline the solution that I followed when I revceived this error running on a RedHat 7.1 box:

    Checked /usr/lib for the gcc libraries present, noted that libstdc++lib6.1-1.so.2 did not exist.

    Created a symbolic link to the libstdclib++-libc file that DID exist i.e.

    ln -s libstdc++-libc6.2-2.so.3 libstdc++-libc6.1-1.so.2

    Re-ran the code and it all worked fine.

    Your version of gcc may be different to the one I was using, but following the example above should get you on the right track.

    Hope that helps...
  • Grimm_SpectorGrimm_Spector Join Date: 2002-11-01 Member: 3309Members, Constellation
    *bump*

    need to keep this up here near the top till it gets fixed!!!
  • VadakillVadakill The Almighty BSO Join Date: 2002-04-02 Member: 373Members, NS1 Playtester
    Search is a beautiful thing:

    <a href='http://www.unknownworlds.com/forums/index.php?act=ST&f=8&t=7542&hl=libstdc' target='_blank'>http://www.unknownworlds.com/forums/in...7542&hl=libstdc</a>
  • Grimm_SpectorGrimm_Spector Join Date: 2002-11-01 Member: 3309Members, Constellation
    I did on the file name and found nothing, I'm not going to look up every individual part of it...
  • HtNickoliHtNickoli Join Date: 2002-11-24 Member: 9786Members
    I take it your running redhat?

    up2date libstdc++

    Problem fixxed.
  • Grimm_SpectorGrimm_Spector Join Date: 2002-11-01 Member: 3309Members, Constellation
    hehehe, nickoli, if you read the post about...I just tried that (or rather my provider did), and if you see the post, not the first one, it shows the error we get...

    did you have this kind of trouble on condomless?? are you running redhat??
Sign In or Register to comment.