metamod-source icon indicating copy to clipboard operation
metamod-source copied to clipboard

Unable to load metamod.

Open markito12 opened this issue 4 years ago • 5 comments

L 08/17/2020 - 05:07:36: Detected engine 17 but could not load: /home/nmrihserver/serverfiles/nmrih/addons/metamod/bin/metamod.2.sdk2013.so: undefined symbol: __pow_finite

getting this error trying to install metamod no more room in hell

markito12 avatar Aug 17 '20 05:08 markito12

LOGS

Using default binary: ./srcds_linux
Server will auto-restart if there is a crash.

WARNING: Failed to load 32-bit libtinfo.so.5 or libncurses.so.5.
  Please install (lib32tinfo5 / ncurses-libs.i686 / equivalent) to enable readline.

Using Breakpad minidump system. Version: 1111 AppID: 317670
Setting breakpad minidump AppID = 317670
Using breakpad crash handler
Loaded 5548 VPK file hashes from /home/nmrihserver/serverfiles/nmrih/nmrih.vpk for pure server operation.
Loaded 5548 VPK file hashes from /home/nmrihserver/serverfiles/nmrih/nmrih.vpk for pure server operation.
Loaded 1222 VPK file hashes from /home/nmrihserver/serverfiles/hl2/hl2_textures.vpk for pure server operation.
Loaded 574 VPK file hashes from /home/nmrihserver/serverfiles/hl2/hl2_sound_vo_english.vpk for pure server operation.
Loaded 383 VPK file hashes from /home/nmrihserver/serverfiles/hl2/hl2_sound_misc.vpk for pure server operation.
Loaded 446 VPK file hashes from /home/nmrihserver/serverfiles/hl2/hl2_misc.vpk for pure server operation.
Loaded 51 VPK file hashes from /home/nmrihserver/serverfiles/hl2mp/hl2mp_pak.vpk for pure server operation.
Loaded 5 VPK file hashes from /home/nmrihserver/serverfiles/platform/platform_misc.vpk for pure server operation.
server_srv.so loaded for "No More Room in Hell"
CDecalEmitterSystem::LoadDecalsFromScript:  Translation for game material type 'H' references unknown decal 'Impact.AlienFlesh'
CDecalEmitterSystem::LoadDecalsFromScript:  Translation for game material type 'A' references unknown decal 'Impact.Antlion'
CDecalEmitterSystem::LoadDecalsFromScript:  Translation for game material type 'E' references unknown decal 'Impact.Antlion'
Particles: Missing 'particles/cig_smoke.pcf'
Failed to load plugin "../nmrih/addons/metamod/bin/server"
 failed to dlopen /home/nmrihserver/serverfiles/nmrih/../nmrih/addons/metamod/bin/linux64/server.so error=/home/nmrihserver/serverfiles/nmrih/../nmrih/addons/metamod/bin/linux64/server.so: wrong ELF class: ELFCLASS64
 failed to dlopen /home/nmrihserver/serverfiles/hl2/../nmrih/addons/metamod/bin/linux64/server.so error=/home/nmrihserver/serverfiles/hl2/../nmrih/addons/metamod/bin/linux64/server.so: wrong ELF class: ELFCLASS64
 failed to dlopen /home/nmrihserver/serverfiles/hl2mp/../nmrih/addons/metamod/bin/linux64/server.so error=/home/nmrihserver/serverfiles/hl2mp/../nmrih/addons/metamod/bin/linux64/server.so: wrong ELF class: ELFCLASS64
 failed to dlopen /home/nmrihserver/serverfiles/bin/../nmrih/addons/metamod/bin/linux64/server.so error=/home/nmrihserver/serverfiles/bin/../nmrih/addons/metamod/bin/linux64/server.so: wrong ELF class: ELFCLASS64
Unable to load plugin "../nmrih/addons/metamod/bin/linux64/server"
maxplayers set to 8
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Unknown command "r_decal_cullsize"
ConVarRef dev_loadtime_map_start doesn't point to an existing ConVar
Network: IP 127.0.1.1, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
Initializing Steam libraries for secure Internet server
[S_API] SteamAPI_Init(): Loaded local 'steamclient.so' OK.
CAppInfoCacheReadFromDiskThread took 0 milliseconds to initialize
CApplicationManagerPopulateThread took 0 milliseconds to initialize (will have waited on CAppInfoCacheReadFromDiskThread)
Setting breakpad minidump AppID = 224260
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Setting breakpad minidump AppID = 317670
No account token specified; logging into anonymous game server account.  (Use sv_setsteamaccount to login to a persistent account.)
Could not find steamerrorreporter binary. Any minidumps will be uploaded in-processConVarRef room_type doesn't point to an existing ConVar
'skill1.cfg' not present; not executing.
Executing dedicated server config file server.cfg
Using map cycle file 'cfg/mapcycle_default.txt'.  ('cfg/mapcycle.txt' was not found.)
Initialized Workshop for game server.
Map nmo_broadway has no Workshop ID set up
Trying to precache breakable prop, but has no model name
prop_door_breakable at (0.000, 0.000, 0.000) has no model name!
nmrih_safezone_supply_piece at (0.000, 0.000, 0.000) has no model name!
nmrih_health_station at (0.000, 0.000, 0.000) has no model name!
item_inventory_box at (0.000, 0.000, 0.000) has no model name!
item_glowstick at (0.000, 0.000, 0.000) has no model name!
Set motd from file 'cfg/motd_default.txt'.  ('cfg/motd.txt' was not found.)
Set motd_text from file 'cfg/motd_text_default.txt'.  ('cfg/motd_text.txt' was not found.)
SV_ActivateServer: setting tickrate to 66.7
filter_multi: Tried to add entity (filter_objd_a) which is not a filter entity!
filter_multi: Tried to add entity (filter_obje) which is not a filter entity!
filter_multi: Tried to add entity (filter_obj_b_1) which is not a filter entity!
filter_multi: Tried to add entity (filter_obj_da) which is not a filter entity!
filter_multi: Tried to add entity (filter_obj_g) which is not a filter entity!
filter_multi: Tried to add entity (filter_obj_z) which is not a filter entity!
filter_multi: Tried to add entity (filter_objc) which is not a filter entity!
Server logging enabled.
Server logging data to file logs/L0817012.log
L 08/17/2020 - 05:56:05: Log file started (file "logs/L0817012.log") (game "/home/nmrihserver/serverfiles/nmrih") (version "1111")
Writing cfg/banned_user.cfg.
Writing cfg/banned_ip.cfg.
'nmo_broadway.cfg' not present; not executing.
Server is hibernating
Connection to Steam servers successful.
   Public IP is 1XX.XX.XXX.XXX.
Assigned anonymous gameserver Steam ID [.....].
VAC secure mode is activated.

markito12 avatar Aug 17 '20 05:08 markito12

I'm also experiencing this issue. Fresh CSGO server installation on Debian 9.

failed to dlopen /home/game/csgo_surf/csgo/addons/metamod/bin/linux64/server.so error=/home/game/csgo_surf/csgo/addons/metamod/bin/linux64/server.so: wrong ELF class: ELFCLASS64

Tested both with latest stable build 1.11 - build 1143 and latest dev build 1.12 - build 1145

ngschaider avatar Dec 17 '20 12:12 ngschaider

That message is unrelated to the issue in the original post and can be safety ignored.

psychonic avatar Dec 17 '20 12:12 psychonic

I see. I think i confused this issue with another one..

Just realised that it's normal that a 32 bit file cant load a 64 bit file :)

ngschaider avatar Dec 17 '20 12:12 ngschaider

What was the solution to original post? I'm getting same error on fresh install of Ubuntu 22.04.2.

Detected engine 17 but could not load: /home/gungame2/serverfiles/fof/addons/metamod/bin/metamod.2.sdk2013.so: undefined symbol: __pow_finite

malomodo avatar Jul 12 '23 16:07 malomodo