Host_error: couldn't get dll api
MrMarco
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
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
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.
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.
<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
<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
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
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-->
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)
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!