Host_error: couldn't get dll api

MrMarcoMrMarco Join Date: 2002-11-01 Member: 3385Members Posts: 13
Host_error: couldn't get dll api
Hi!

I got a problem running my own server.

LoadLibrary failed on /home/highantdev2_de/hlds_l/ns/dlls/ns_i386.so: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory
Host_Error: Couldn't get DLL API from /home/highantdev2_de/hlds_l/ns/dlls/ns_i386.so!
FATAL ERROR (shutting down): Host_Error: Couldn't get DLL API from /home/highantdev2_de/hlds_l/ns/dlls/ns_i386.so!


The file exists, so... what's wrong?

I've tried it under root and it wont work. I tried it on my small redhat 8.0 server and it works. But on the big one (redhat 7.2) it wont work.

I hope someone can give me a hint.

Greetings
Marco Frischkorn
Germany

Comments

  • joevjoev Giving grief... With a smile. Join Date: 2002-07-20 Member: 977Members, Retired Developer, NS1 Playtester, Contributor, Constellation, Reinforced - Shadow Posts: 1,086
    Quote (MrMarco @ Nov. 02 2002,00:49)
    Hi!

    I got a problem running my own server.

    LoadLibrary failed on /home/highantdev2_de/hlds_l/ns/dlls/ns_i386.so: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory
    Host_Error: Couldn't get DLL API from /home/highantdev2_de/hlds_l/ns/dlls/ns_i386.so!
    FATAL ERROR (shutting down): Host_Error: Couldn't get DLL API from /home/highantdev2_de/hlds_l/ns/dlls/ns_i386.so!


    The file exists, so... what's wrong?

    I've tried it under root and it wont work. I tried it on my small redhat 8.0 server and it works. But on the big one (redhat 7.2) it wont work.

    I hope someone can give me a hint.

    Greetings
    Marco Frischkorn
    Germany

    Are you 100% sure it's there?

    /usr/lib/libstdc++-libc6.1-1.so.2

    it's not a symlink to a non-existant file by any chance?

    joev.
    Joe Vaughan ([email protected]) -- Old foagie -- Bragging rights: Development Director of Natural Selection I
  • WHCMudhoneyWHCMudhoney Join Date: 2002-11-02 Member: 4849Members Posts: 1
    I had the same problem.  I think my upgraded debian packages meant that the libc library was not there, so I just created a sym link to the one that looked like it might do the job :)  works fine now
  • sluggosluggo Join Date: 2002-11-02 Member: 4895Members Posts: 4
    Quote
    No such file or directory


    Hmm.. I'd look for where that file really is.. seems like the borked up symlink is the sort of thing i'd be suspicious of ;). Or a recent libc upgrade.. something like that.
    Pat 'sluggo' Magnan
    coder Tour of Duty mod
    http://www.tourofdutymod.com
  • MrMarcoMrMarco Join Date: 2002-11-01 Member: 3385Members Posts: 13
    Aahhhh... now i got it... :)


    /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so
    /usr/lib/libstdc++-libc6.2-2.so.3
    /usr/lib/libstdc++-3-libc6.2-2-2.10.0.a
    /usr/lib/libstdc++-libc6.2-2.a.3


    It ISNT there. But can i use one of the others?

    If've tried to upgrade to

    libstdc++-devel-2.96-98.i386.rpm

    or

    libstdc++3-3.0.4-1.i386.rpm

    but everytime my system is telling me, that there are missing dependencies.

    Greetings
    Marco Frischkorn
    Germany
  • joevjoev Giving grief... With a smile. Join Date: 2002-07-20 Member: 977Members, Retired Developer, NS1 Playtester, Contributor, Constellation, Reinforced - Shadow Posts: 1,086
    :06-->
    Quote (MrMarco @ Nov. 02 2002,09imagehttp://www.natural-selection.org/iB_html/non-cgi/emoticons/wow.gif" border="0" valign="absmiddle" alt=':0'>6)
    Aahhhh... now i got it... imagehttp://www.natural-selection.org/iB_html/non-cgi/emoticons/smile.gif" border="0" valign="absmiddle" alt=':)'>


    /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so
    /usr/lib/libstdc++-libc6.2-2.so.3
    /usr/lib/libstdc++-3-libc6.2-2-2.10.0.a
    /usr/lib/libstdc++-libc6.2-2.a.3


    It ISNT there. But can i use one of the others?

    If've tried to upgrade to

    libstdc++-devel-2.96-98.i386.rpm

    or

    libstdc++3-3.0.4-1.i386.rpm

    but everytime my system is telling me, that there are missing dependencies.

    Greetings
    Marco Frischkorn
    Germany

    ln -s /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so /usr/lib/libstdc++-libc6.1-1.so.2

    That should sort you out. (Hopefully)

    joev
    Joe Vaughan ([email protected]) -- Old foagie -- Bragging rights: Development Director of Natural Selection I
  • MrMarcoMrMarco Join Date: 2002-11-01 Member: 3385Members Posts: 13
    @joev:

    yeah! :) Now it works... but first i have to install adminmod and befor i will open this server for all, i'll wait for the lag-fix and a rebalancing of the teams and weapons :) But that's an other story ;)

    Greetings
    Marco Frischkorn
    Germany
  • MellonpoprMellonpopr Join Date: 2002-11-01 Member: 2304Members Posts: 281
    thank god for windows2000 lol this is the exact reason I left linux.. just too much damn work and no time left to play.

    im just poking fun dont take me seriously smile.gif
    [WM]Mellonpopr
    Leader of clan [WM] visit www.wehrmacht.us or stop by #clan-wm on gamesnet IRC

    Dedicated 20 player server 2mb down /1mb up
    Windows 2000 Advanced Server
    P4 2.85GHz, 1GB DDR 333
    2x 60GB RAID Striped HD's

    24.56.80.133:27015
    16 public slots + 4 type 2 reserved
  • rog2054rog2054 Join Date: 2002-12-12 Member: 10734Members Posts: 1
    HI,

    Having similar problems here as MrMarco had...but slightly different.

    Running RedHat 8.0,

    I have installed (from rpm a few moments ago):
    libstdc++-devel-3.2-7
    libstdc++-3.2-7

    my usr/bin directory has:
    libstdc++.so.3.0.4
    libstdc++.so.3 -> libstdc++.so.3.0.4 (ie a sym link)
    libstdc++.so.5.0.1
    libstdc++.so.5 -> libstdc++.so.5.0.1 (another sym link)

    I realise my problem is i do not have:
    libstdc++-5-libcx.x.xx.x.so (not sure of the version numbers obviously)

    SO, what do i need to add to get the required file, and where from?
    (relatively new to linux so unsure where to download updated rpm's or source etc)
  • uteboyuteboy Join Date: 2003-01-10 Member: 12121Members Posts: 1
    I have to same problem, newish to linux ( in particular, familiar with BSD ), don't have the right library, and am unsure where to get it from>
  • Mips86Mips86 Join Date: 2013-05-04 Member: 185118Members Posts: 1
    Welcome

    I have the following problem. After the last update HL and the new engine does not work for me in NS v3.2

    The error code applies to Linux

    LoadLibrary failed on ./ns/dlls/ns.so: ./ns/dlls/ns.so: cannot open shared object file: No such file or directory
    Host_Error: Couldn't get DLL API from ./ns/dlls/ns.so!
    FATAL ERROR (shutting down): Host_Error: Couldn't get DLL API from ./ns/dlls/ns.so!
Sign In or Register to comment.