Linux Server Cant Find Ns_i386.so!
MadSpy
Join Date: 2002-10-03 Member: 1420Members
in Tech Support
<div class="IPBDescription">Please help meh, thnx</div> Hey Im running a linux server and Im trying to install ns on it, but when I run the server it gives me this:
Enabling debug mode
./hlds_run: line 1: gdb: command not found
Please install gdb first.
goto <a href='http://www.gnu.org/software/gdb/' target='_blank'>http://www.gnu.org/software/gdb/</a>
Auto-restarting the server on crash
Host_Init
Added packfile /home/ns/hlds_l/valve/pak0.pak (985 files)
Protocol version 46
Exe version 3.1.1.0
Exe build: 14:46:34 Jun 11 2002 (2056)
WON Auth Server
Server IP address 66.111.50.43:27015
LoadLibrary failed on /home/ns/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/ns/hlds_l/ns/dlls/ns_i386.so!
FATAL ERROR (shutting down): Host_Error: Couldn't get DLL API from /home/ns/hlds_l/ns/dlls/ns_i386.so!
Add "-debug" to the ./hlds_run command line to generate a debug.log to help with solving this problem
Tue Nov 19 20:04:55 PST 2002: Server Died
I am also running 2 counter strike servers on the same server, So I know it can run half life games, I also tried chmod +x ns_1386... but this didnt change anything, also chmod -R +777 /home/ns (the folder the ns half life server is in) did help either.
If you have any ideas on how to get this running please help, thanks!
and just incase you need it ill add what it returns when I type "locate libc"
[ns@srv06 ns]$ locate libc
/usr/bin/glibcbug
/usr/bin/lddlibc4
/usr/lib/libcrack.so.2.7
/usr/lib/libcrack.so
/usr/lib/libcrack.so.2
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/bits/libc-lock.ph
/usr/lib/sasl/libcrammd5.la
/usr/lib/sasl/libcrammd5.so
/usr/lib/sasl/libcrammd5.so.1
/usr/lib/sasl/libcrammd5.so.1.0.19
/usr/lib/sasl2/libcrammd5.la
/usr/lib/sasl2/libcrammd5.so
/usr/lib/sasl2/libcrammd5.so.2
/usr/lib/sasl2/libcrammd5.so.2.0.7
/usr/lib/libglade/2.0/libcanvas.la
/usr/lib/libglade/2.0/libcanvas.so
/usr/lib/libcapi20.so.2.0.6
/usr/lib/libcapi20.so.2
/usr/lib/libcardmgr_loader.a
/usr/lib/libcups.so.2
/usr/lib/libcupsimage.so.2
/usr/lib/libcurl.so.2
/usr/lib/libcurl.so.2.0.2
/usr/share/doc/glibc-common-2.2.93
/usr/share/doc/glibc-common-2.2.93/ChangeLog.threads.gz
/usr/share/doc/glibc-common-2.2.93/ChangeLog.1.gz
/usr/share/doc/glibc-common-2.2.93/ChangeLog.10.gz
/usr/share/doc/glibc-common-2.2.93/ChangeLog.11.gz
/usr/share/doc/glibc-common-2.2.93/ChangeLog.12.gz
/usr/share/doc/glibc-common-2.2.93/ChangeLog.2.gz
/usr/share/doc/glibc-common-2.2.93/ChangeLog.3.gz
/usr/share/doc/glibc-common-2.2.93/ChangeLog.4.gz
/usr/share/doc/glibc-common-2.2.93/ChangeLog.5.gz
/usr/share/doc/glibc-common-2.2.93/ChangeLog.6.gz
/usr/share/doc/glibc-common-2.2.93/ChangeLog.7.gz
/usr/share/doc/glibc-common-2.2.93/ChangeLog.8.gz
/usr/share/doc/glibc-common-2.2.93/ChangeLog.9.gz
/usr/share/doc/glibc-common-2.2.93/ChangeLog.gz
/usr/share/doc/glibc-common-2.2.93/FAQ-threads.html
/usr/share/doc/glibc-common-2.2.93/Changes.threads
/usr/share/doc/glibc-common-2.2.93/README.ufc-crypt
/usr/share/doc/glibc-common-2.2.93/README.threads
/usr/share/doc/glibc-common-2.2.93/README.timezone
/usr/share/doc/glibc-common-2.2.93/examples.threads
/usr/share/doc/glibc-common-2.2.93/examples.threads/Makefile
/usr/share/doc/glibc-common-2.2.93/examples.threads/ex1.c
/usr/share/doc/glibc-common-2.2.93/examples.threads/ex10.c
/usr/share/doc/glibc-common-2.2.93/examples.threads/ex11.c
/usr/share/doc/glibc-common-2.2.93/examples.threads/ex12.c
/usr/share/doc/glibc-common-2.2.93/examples.threads/ex13.c
/usr/share/doc/glibc-common-2.2.93/examples.threads/ex14.c
/usr/share/doc/glibc-common-2.2.93/examples.threads/ex15.c
/usr/share/doc/glibc-common-2.2.93/examples.threads/ex16.c
/usr/share/doc/glibc-common-2.2.93/examples.threads/ex17.c
/usr/share/doc/glibc-common-2.2.93/examples.threads/ex18.c
/usr/share/doc/glibc-common-2.2.93/examples.threads/ex2.c
/usr/share/doc/glibc-common-2.2.93/examples.threads/ex3.c
/usr/share/doc/glibc-common-2.2.93/examples.threads/ex4.c
/usr/share/doc/glibc-common-2.2.93/examples.threads/ex5.c
/usr/share/doc/glibc-common-2.2.93/examples.threads/ex6.c
/usr/share/doc/glibc-common-2.2.93/examples.threads/ex7.c
/usr/share/doc/glibc-common-2.2.93/examples.threads/ex8.c
/usr/share/doc/glibc-common-2.2.93/examples.threads/ex9.c
/usr/share/doc/glibc-common-2.2.93/examples.threads/tststatic.c
/usr/share/doc/glibc-2.2.93
/usr/share/doc/glibc-2.2.93/CONFORMANCE
/usr/share/doc/glibc-2.2.93/BUGS
/usr/share/doc/glibc-2.2.93/COPYING.LIB
/usr/share/doc/glibc-2.2.93/COPYING
/usr/share/doc/glibc-2.2.93/INSTALL
/usr/share/doc/glibc-2.2.93/FAQ
/usr/share/doc/glibc-2.2.93/README.hesiod
/usr/share/doc/glibc-2.2.93/LICENSES
/usr/share/doc/glibc-2.2.93/NEWS
/usr/share/doc/glibc-2.2.93/NOTES
/usr/share/doc/glibc-2.2.93/PROJECTS
/usr/share/doc/glibc-2.2.93/README
/usr/share/doc/glibc-2.2.93/README.libm
/usr/share/locale/en_GB/LC_MESSAGES/libc.mo
/usr/kerberos/lib/libcom_err.so.3.0
/usr/kerberos/lib/libcom_err.so.3
/lib/i686/libc-2.2.93.so
/lib/i686/libc.so.6
/lib/libc-2.2.93.so
/lib/libc.so.6
/lib/libcrypt-2.2.93.so
/lib/libcrypt.so.1
/lib/libcom_err.so.2
/lib/libcom_err.so.2.0
/lib/libcrypto.so.2
/lib/libcrypto.so.0.9.6b
Please help me! Thanks a ton! <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
Enabling debug mode
./hlds_run: line 1: gdb: command not found
Please install gdb first.
goto <a href='http://www.gnu.org/software/gdb/' target='_blank'>http://www.gnu.org/software/gdb/</a>
Auto-restarting the server on crash
Host_Init
Added packfile /home/ns/hlds_l/valve/pak0.pak (985 files)
Protocol version 46
Exe version 3.1.1.0
Exe build: 14:46:34 Jun 11 2002 (2056)
WON Auth Server
Server IP address 66.111.50.43:27015
LoadLibrary failed on /home/ns/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/ns/hlds_l/ns/dlls/ns_i386.so!
FATAL ERROR (shutting down): Host_Error: Couldn't get DLL API from /home/ns/hlds_l/ns/dlls/ns_i386.so!
Add "-debug" to the ./hlds_run command line to generate a debug.log to help with solving this problem
Tue Nov 19 20:04:55 PST 2002: Server Died
I am also running 2 counter strike servers on the same server, So I know it can run half life games, I also tried chmod +x ns_1386... but this didnt change anything, also chmod -R +777 /home/ns (the folder the ns half life server is in) did help either.
If you have any ideas on how to get this running please help, thanks!
and just incase you need it ill add what it returns when I type "locate libc"
[ns@srv06 ns]$ locate libc
/usr/bin/glibcbug
/usr/bin/lddlibc4
/usr/lib/libcrack.so.2.7
/usr/lib/libcrack.so
/usr/lib/libcrack.so.2
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/bits/libc-lock.ph
/usr/lib/sasl/libcrammd5.la
/usr/lib/sasl/libcrammd5.so
/usr/lib/sasl/libcrammd5.so.1
/usr/lib/sasl/libcrammd5.so.1.0.19
/usr/lib/sasl2/libcrammd5.la
/usr/lib/sasl2/libcrammd5.so
/usr/lib/sasl2/libcrammd5.so.2
/usr/lib/sasl2/libcrammd5.so.2.0.7
/usr/lib/libglade/2.0/libcanvas.la
/usr/lib/libglade/2.0/libcanvas.so
/usr/lib/libcapi20.so.2.0.6
/usr/lib/libcapi20.so.2
/usr/lib/libcardmgr_loader.a
/usr/lib/libcups.so.2
/usr/lib/libcupsimage.so.2
/usr/lib/libcurl.so.2
/usr/lib/libcurl.so.2.0.2
/usr/share/doc/glibc-common-2.2.93
/usr/share/doc/glibc-common-2.2.93/ChangeLog.threads.gz
/usr/share/doc/glibc-common-2.2.93/ChangeLog.1.gz
/usr/share/doc/glibc-common-2.2.93/ChangeLog.10.gz
/usr/share/doc/glibc-common-2.2.93/ChangeLog.11.gz
/usr/share/doc/glibc-common-2.2.93/ChangeLog.12.gz
/usr/share/doc/glibc-common-2.2.93/ChangeLog.2.gz
/usr/share/doc/glibc-common-2.2.93/ChangeLog.3.gz
/usr/share/doc/glibc-common-2.2.93/ChangeLog.4.gz
/usr/share/doc/glibc-common-2.2.93/ChangeLog.5.gz
/usr/share/doc/glibc-common-2.2.93/ChangeLog.6.gz
/usr/share/doc/glibc-common-2.2.93/ChangeLog.7.gz
/usr/share/doc/glibc-common-2.2.93/ChangeLog.8.gz
/usr/share/doc/glibc-common-2.2.93/ChangeLog.9.gz
/usr/share/doc/glibc-common-2.2.93/ChangeLog.gz
/usr/share/doc/glibc-common-2.2.93/FAQ-threads.html
/usr/share/doc/glibc-common-2.2.93/Changes.threads
/usr/share/doc/glibc-common-2.2.93/README.ufc-crypt
/usr/share/doc/glibc-common-2.2.93/README.threads
/usr/share/doc/glibc-common-2.2.93/README.timezone
/usr/share/doc/glibc-common-2.2.93/examples.threads
/usr/share/doc/glibc-common-2.2.93/examples.threads/Makefile
/usr/share/doc/glibc-common-2.2.93/examples.threads/ex1.c
/usr/share/doc/glibc-common-2.2.93/examples.threads/ex10.c
/usr/share/doc/glibc-common-2.2.93/examples.threads/ex11.c
/usr/share/doc/glibc-common-2.2.93/examples.threads/ex12.c
/usr/share/doc/glibc-common-2.2.93/examples.threads/ex13.c
/usr/share/doc/glibc-common-2.2.93/examples.threads/ex14.c
/usr/share/doc/glibc-common-2.2.93/examples.threads/ex15.c
/usr/share/doc/glibc-common-2.2.93/examples.threads/ex16.c
/usr/share/doc/glibc-common-2.2.93/examples.threads/ex17.c
/usr/share/doc/glibc-common-2.2.93/examples.threads/ex18.c
/usr/share/doc/glibc-common-2.2.93/examples.threads/ex2.c
/usr/share/doc/glibc-common-2.2.93/examples.threads/ex3.c
/usr/share/doc/glibc-common-2.2.93/examples.threads/ex4.c
/usr/share/doc/glibc-common-2.2.93/examples.threads/ex5.c
/usr/share/doc/glibc-common-2.2.93/examples.threads/ex6.c
/usr/share/doc/glibc-common-2.2.93/examples.threads/ex7.c
/usr/share/doc/glibc-common-2.2.93/examples.threads/ex8.c
/usr/share/doc/glibc-common-2.2.93/examples.threads/ex9.c
/usr/share/doc/glibc-common-2.2.93/examples.threads/tststatic.c
/usr/share/doc/glibc-2.2.93
/usr/share/doc/glibc-2.2.93/CONFORMANCE
/usr/share/doc/glibc-2.2.93/BUGS
/usr/share/doc/glibc-2.2.93/COPYING.LIB
/usr/share/doc/glibc-2.2.93/COPYING
/usr/share/doc/glibc-2.2.93/INSTALL
/usr/share/doc/glibc-2.2.93/FAQ
/usr/share/doc/glibc-2.2.93/README.hesiod
/usr/share/doc/glibc-2.2.93/LICENSES
/usr/share/doc/glibc-2.2.93/NEWS
/usr/share/doc/glibc-2.2.93/NOTES
/usr/share/doc/glibc-2.2.93/PROJECTS
/usr/share/doc/glibc-2.2.93/README
/usr/share/doc/glibc-2.2.93/README.libm
/usr/share/locale/en_GB/LC_MESSAGES/libc.mo
/usr/kerberos/lib/libcom_err.so.3.0
/usr/kerberos/lib/libcom_err.so.3
/lib/i686/libc-2.2.93.so
/lib/i686/libc.so.6
/lib/libc-2.2.93.so
/lib/libc.so.6
/lib/libcrypt-2.2.93.so
/lib/libcrypt.so.1
/lib/libcom_err.so.2
/lib/libcom_err.so.2.0
/lib/libcrypto.so.2
/lib/libcrypto.so.0.9.6b
Please help me! Thanks a ton! <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
Comments
In short, you need to do an ln -sf libstdc++-libc6.1-2.so.3 libstdc++-libc6.1-1.so.2
-Slappy