When i try to start hlds-cstrike with adminmod it crashes, i used the halflife-modsetup script included to set it up Console initialized. Protocol version 46 Exe version 3.1.1.1 Exe build: 21:45:40 Jun 5 2003 (2415) WON Auth Server Server IP address 192.168.0.1:27015 scandir: No such file or directory Host_Error: Couldn't get DLL API from *
When i try to start hlds-cstrike with adminmod it crashes, i used the halflife-modsetup script included to set it up Console initialized. Protocol version 46 Exe version 3.1.1.1 Exe build: 21:45:40 Jun 5 2003 (2415) WON Auth Server Server IP address 192.168.0.1:27015 scandir: No such file or directory Host_Error: Couldn't get DLL API from *× @8Ø! FATAL ERROR (shutting down): Host_Error: Couldn't get DLL API from *× @8Ø! /opt/halflife/hlds_run: line 125: 15709 Segmentation fault $HL $* Add "-debug" to the /opt/halflife/hlds_run command line to generate a debug.log to help with solving this problem Fri Jul 25 10:56:39 CEST 2003: Server Died I also got this error when i was emerging admin_mod >>> emerge (2 of 3) app-games/halflife-adminmod-2.50.52 to / >>> md5 src_uri ;-) halflife-admin-2.50.52.tgz >>> Unpacking source... >>> Unpacking halflife-admin-2.50.52.tgz to /var/tmp/portage/halflife-adminmod-2.50.52/work >>> Source unpacked. >>> Install halflife-adminmod-2.50.52 into /var/tmp/portage/halflife-adminmod-2.50.52/image/ category app-games install: `docs/html' is a directory gzip: /var/tmp/portage/halflife-adminmod-2.50.52/image/usr/share/doc/halflife-adminmod-2.50.52/html: No such file or directory install: installing multiple files, but last argument, `Admin_Mod_Configuration_Variables_CVARs.htm' is not a directory Probeer `install --help' voor meer informatie. man: prepallstrip: strip: strip: opt/halflife/addons/adminmod/dlls/admin_MM_i386.so opt/halflife/addons/adminmod/dlls/amx_admin.so opt/halflife/addons/adminmod/scripting/compiler/sc >>> Completed installing into /var/tmp/portage/halflife-adminmod-2.50.52/image/ Reproducible: Always Steps to Reproduce: 1. emerge halflife-cstrike 2. emerge halflife-adminmod 3. use halflife-modconfig to set it up 4. start hlds-cstrike
please post `emerge info`, cstrike/metamod.ini, cstrike/liblist.gam, and cstrike/plugin.ini i just ran `halflife-modsetup`, added metamod support, added the adminmod plugin to the metamod list, and then added a few adminmod plugins. when i ran `hlds-cstrike` it ran fine
Portage 2.0.48-r6 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-gentoo-r5 i686 Pentium III (Coppermine) GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.easynet.nl/mirror/gentoo/ http://ftp.gentoo.skynet.be/pub/gentoo/" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow apm avi crypt encode foomaticdb gif jpeg libg++ mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts svga java sdl gpm tcpd pam libwww ssl perl python imlib oggvorbis motif opengl mozilla dedicated apache2 slp tcltk ipv6 pic X qt kde gtk gtk2 sse xml alsa aalib tiff mysql samba dga fbcon directfb oav maildir curl gd snmp -esd -gnome cups usb" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -ffast-math -fforce-addr -fprefetch-loop-arrays -mfpmath=sse" CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -ffast-math -fforce-addr -fprefetch-loop-arrays -mfpmath=sse" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j4" AUTOCLEAN="yes" SYNC="rsync://kruimel.snt.utwente.nl/gentoo-portage" FEATURES="sandbox buildpkg ccache distcc fixpackages" root # cat /opt/halflife/cstrike/metamod.ini linux dlls/cs_i386.so root # cat /opt/halflife/cstrike/liblist.gam game "Counter-Strike" url_info "www.counter-strike.net" url_dl "" version "1.5" size "184000000" svonly "0" secure "1" type "multiplayer_only" cldll "1" hlversion "1110" nomodels "1" nohimodel "1" mpentity "info_player_start" gamedll "dlls\mp.dll" trainmap "tr_1" gentoo_gamedll_linux "dlls/cs_i386.so" gamedll_linux "../addons/metamod/metamod_i386.so" root # cat /opt/halflife/cstrike/plugin.ini ../addons/adminmod/scripting/binaries/plugin_base.amx ../addons/adminmod/scripting/binaries/plugin_fun.amx Hmm, just noticed that running /etc/init.d/hlds-cstrike start and hlds-cstrike gives diffrend output: root # /etc/init.d/hlds-cstrike start * Starting halflife cstrike dedicated... [ ok ] root # screen -r hlds-cstrike start Using Pentium II Optimised binary. Auto-restarting the server on crash Console initialized. Protocol version 46 Exe version 3.1.1.1 Exe build: 21:45:40 Jun 5 2003 (2415) WON Auth Server Server IP address 192.168.0.1:27015 scandir: No such file or directory Host_Error: Couldn't get DLL API from *
Portage 2.0.48-r6 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-gentoo-r5 i686 Pentium III (Coppermine) GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.easynet.nl/mirror/gentoo/ http://ftp.gentoo.skynet.be/pub/gentoo/" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow apm avi crypt encode foomaticdb gif jpeg libg++ mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts svga java sdl gpm tcpd pam libwww ssl perl python imlib oggvorbis motif opengl mozilla dedicated apache2 slp tcltk ipv6 pic X qt kde gtk gtk2 sse xml alsa aalib tiff mysql samba dga fbcon directfb oav maildir curl gd snmp -esd -gnome cups usb" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -ffast-math -fforce-addr -fprefetch-loop-arrays -mfpmath=sse" CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -ffast-math -fforce-addr -fprefetch-loop-arrays -mfpmath=sse" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j4" AUTOCLEAN="yes" SYNC="rsync://kruimel.snt.utwente.nl/gentoo-portage" FEATURES="sandbox buildpkg ccache distcc fixpackages" root # cat /opt/halflife/cstrike/metamod.ini linux dlls/cs_i386.so root # cat /opt/halflife/cstrike/liblist.gam game "Counter-Strike" url_info "www.counter-strike.net" url_dl "" version "1.5" size "184000000" svonly "0" secure "1" type "multiplayer_only" cldll "1" hlversion "1110" nomodels "1" nohimodel "1" mpentity "info_player_start" gamedll "dlls\mp.dll" trainmap "tr_1" gentoo_gamedll_linux "dlls/cs_i386.so" gamedll_linux "../addons/metamod/metamod_i386.so" root # cat /opt/halflife/cstrike/plugin.ini ../addons/adminmod/scripting/binaries/plugin_base.amx ../addons/adminmod/scripting/binaries/plugin_fun.amx Hmm, just noticed that running /etc/init.d/hlds-cstrike start and hlds-cstrike gives diffrend output: root # /etc/init.d/hlds-cstrike start * Starting halflife cstrike dedicated... [ ok ] root # screen -r hlds-cstrike start Using Pentium II Optimised binary. Auto-restarting the server on crash Console initialized. Protocol version 46 Exe version 3.1.1.1 Exe build: 21:45:40 Jun 5 2003 (2415) WON Auth Server Server IP address 192.168.0.1:27015 scandir: No such file or directory Host_Error: Couldn't get DLL API from *× @8Ø! FATAL ERROR (shutting down): Host_Error: Couldn't get DLL API from *× @8Ø! /opt/halflife/hlds_run: line 125: 8363 Segmentation fault $HL $* Add "-debug" to the /opt/halflife/hlds_run command line to generate a debug.log to help with solving this problem Fri Jul 25 15:17:43 CEST 2003: Server Died root # /usr/games/bin/hlds-cstrike Using Pentium II Optimised binary. Auto-restarting the server on crash Console initialized. Protocol version 46 Exe version 3.1.1.1 Exe build: 21:45:40 Jun 5 2003 (2415) WON Auth Server Server IP address 192.168.0.1:27015 LoadLibrary failed on ./cstrike/../addons/metamod/metamod_i386.so: ./cstrike/../addons/metamod/metamod_i386.so: undefined symbol: _ZSt15set_new_handlerPFvvE Host_Error: Couldn't get DLL API from ./cstrike/../addons/metamod/metamod_i386.so! FATAL ERROR (shutting down): Host_Error: Couldn't get DLL API from ./cstrike/../addons/metamod/metamod_i386.so! /opt/halflife/hlds_run: line 125: 8385 Segmentatie fout $HL $* Add "-debug" to the /opt/halflife/hlds_run command line to generate a debug.log to help with solving this problem vr jul 25 15:18:42 CEST 2003: Server Died This makes a bit more sense
just went to add the binary hacks we made when i found that they *just* released 3.1.1.1d :) could you try that out and see if problems persist ? i emerged this version of hlds on a clean glibc-2.3.x system and ran everything w/out segfaults ... i didnt test out cstrike/adminmod though ... dont have those available :/
# /usr/games/bin/hlds-cstrike Auto detecting CPU Using Pentium II Optimised binary. Auto-restarting the server on crash Console initialized. Protocol version 46 Exe version 3.1.1.1 Exe build: 18:20:53 Jul 29 2003 (2469) WON Auth Server Server IP address 192.168.0.1:27015 LoadLibrary failed on ./cstrike/../addons/metamod/metamod_i386.so: ./cstrike/../addons/metamod/metamod_i386.so: undefined symbol: _ZSt15set_new_handlerPFvvE Host_Error: Couldn't get DLL API from ./cstrike/../addons/metamod/metamod_i386.so! FATAL ERROR (shutting down): Host_Error: Couldn't get DLL API from ./cstrike/../addons/metamod/metamod_i386.so! /opt/halflife/hlds_run: line 339: 9050 Segmentatie fout $HL_CMD
I get the same problems, and would really really like to run metamod/adminmod. Does anyone have a solution?
Stuart Herbert just helped me solve this... Go download the metamod binary from http://metamod.org/dl/dlls/metamod_i386.so.gz and replace the one the ebuild installed. Apparently HLDS is very very picky about how mods are compiled.
ok, i version bumped metamod to 1.16.2 in portage and it now defaults to a binary install ... for people who the src version works, they can do USE=src and get a src installed version of metamod