Host_error: couldn't get dll api

MrMarcoMrMarco Join Date: 2002-11-01 Member: 3385Members
<div class="IPBDescription">Host_error: couldn't get dll api</div>Hi!

I got a problem running my own server.

<i>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!
</i>

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
    <!--QuoteBegin--MrMarco+Nov. 02 2002,00:49--></span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td><b>Quote</b> (MrMarco @ Nov. 02 2002,00:49)</td></tr><tr><td id="QUOTE"><!--QuoteEBegin-->Hi!

    I got a problem running my own server.

    <i>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!
    </i>

    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<!--QuoteEnd--></td></tr></table><span id='postcolor'><!--QuoteEEnd-->
    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.
  • WHCMudhoneyWHCMudhoney Join Date: 2002-11-02 Member: 4849Members
    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 <!--emo&:)--><img src="http://www.natural-selection.org/iB_html/non-cgi/emoticons/smile.gif" border="0" valign="absmiddle" alt=':)'><!--endemo-->  works fine now
  • sluggosluggo Join Date: 2002-11-02 Member: 4895Members
    <!--QuoteBegin--></span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td><b>Quote</b> </td></tr><tr><td id="QUOTE"><!--QuoteEBegin-->No such file or directory<!--QuoteEnd--></td></tr></table><span id='postcolor'><!--QuoteEEnd-->

    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 <!--emo&;)--><img src="http://www.natural-selection.org/iB_html/non-cgi/emoticons/wink.gif" border="0" valign="absmiddle" alt=';)'><!--endemo-->. Or a recent libc upgrade.. something like that.
  • MrMarcoMrMarco Join Date: 2002-11-01 Member: 3385Members
    Aahhhh... now i got it... <!--emo&:)--><img src="http://www.natural-selection.org/iB_html/non-cgi/emoticons/smile.gif" border="0" valign="absmiddle" alt=':)'><!--endemo-->

    <i>
    /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
    </i>

    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
    <!--QuoteBegin--MrMarco+Nov. 02 2002,09<!--emo&:0--><img src="http://www.natural-selection.org/iB_html/non-cgi/emoticons/wow.gif" border="0" valign="absmiddle" alt=':0'><!--endemo-->6--></span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td><b>Quote</b> (MrMarco @ Nov. 02 2002,09<!--emo&:0--><img src="http://www.natural-selection.org/iB_html/non-cgi/emoticons/wow.gif" border="0" valign="absmiddle" alt=':0'><!--endemo-->6)</td></tr><tr><td id="QUOTE"><!--QuoteEBegin-->Aahhhh... now i got it... <!--emo&:)--><img src="http://www.natural-selection.org/iB_html/non-cgi/emoticons/smile.gif" border="0" valign="absmiddle" alt=':)'><!--endemo-->

    <i>
    /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
    </i>

    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<!--QuoteEnd--></td></tr></table><span id='postcolor'><!--QuoteEEnd-->
    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
  • MrMarcoMrMarco Join Date: 2002-11-01 Member: 3385Members
    @joev:

    yeah! <!--emo&:)--><img src="http://www.natural-selection.org/iB_html/non-cgi/emoticons/smile.gif" border="0" valign="absmiddle" alt=':)'><!--endemo--> 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 <!--emo&:)--><img src="http://www.natural-selection.org/iB_html/non-cgi/emoticons/smile.gif" border="0" valign="absmiddle" alt=':)'><!--endemo--> But that's an other story <!--emo&;)--><img src="http://www.natural-selection.org/iB_html/non-cgi/emoticons/wink.gif" border="0" valign="absmiddle" alt=';)'><!--endemo-->

    Greetings
    Marco Frischkorn
    Germany
  • MellonpoprMellonpopr Join Date: 2002-11-01 Member: 2304Members
    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 <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
  • rog2054rog2054 Join Date: 2002-12-12 Member: 10734Members
    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
    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
    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.