AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   [CSGO SERVER] metamod failed to load? (https://forums.alliedmods.net/showthread.php?t=329759)

hawkixs 01-06-2021 09:02

[CSGO SERVER] metamod failed to load?
 
Hello


Im running a csgo server on debian9 (i tried debian10 before)

All is fine with the server its work well but i can't load metamod in anyway possible...im out of idea

Code:

failed to dlopen /home/steam/csgo/csgo/addons/metamod/bin/linux64/server.so error=/home/steam/csgo/csgo/addons/metamod/bin/linux64/server.so: wrong ELF class: ELFCLASS64
Unable to load plugin "addons/metamod/bin/linux64/server"
Failed to load plugin "addons/metamod/bin/server"

im using last stable version metamod 1.11 - build 1144

here my launch command:
Code:

/home/steam/csgo/srcds_run srcdds -game csgo -console -usercon +game_type 0 +game_mode 1 -tickrate 128 +mapgroup mg_active +map de_dust2 +sv_setsteamaccount xxxxxxxx -net_port_try 1 -authkey xxxxxxx
and here my metamod.vdf:

Code:

"Plugin"
{
        "file"  "addons/metamod/bin/server"
}


Maxximou5 01-06-2021 13:39

Re: [CSGO SERVER] metamod failed to load?
 
Debian version should not matter, I have both Debian 9 and 10 running and that the game you are running is supported.
CS:GO is supported, just make sure that you downloaded the correct Metamod for Linux and not Windows or Mac.

Go to: https://www.sourcemm.net/downloads.php?branch=stable
Then follow the guide: https://wiki.alliedmods.net/Installing_Metamod:Source

Should look like example: /home/steam/csgo/addons/metamod

Make sure you have set the correct permissions for the newly extracted contents, that the owner of the folder is the same and that you have permissions.

TomL. 01-06-2021 18:31

Re: [CSGO SERVER] metamod failed to load?
 
Code:

add-apt-repository multiverse
dpkg --add-architecture i386
apt-get update
apt-get install lib32gcc1 lib32stdc++6


stigma 03-01-2021 16:57

Re: [CSGO SERVER] metamod failed to load?
 
Quote:

Originally Posted by TomL. (Post 2731615)
Code:

apt-get install lib32gcc1 lib32stdc++6

THIS! I've been searching for an eternity, as metamod would just not load for me! I've already installed lib32gcc1, as that's required for steamcmd. But I did not have lib32stdc++6 installed. After adding this to my Debian 9/10 (netinst) installations, metamod is loading successfully.

Thank you TomL!

Edit:
Reading through some other posts mentioning lib32stc++6. I wonder how my CS:GO instance even boots. As I understand it, that library is required for CS:GO to even run, since Feb 2018. ¯\_(ツ)_/¯

evolu 07-10-2021 16:55

Re: [CSGO SERVER] metamod failed to load?
 
Note that sometimes this error can be caused because there are two VDF files provided by metamod - one for 64 and one for 32bit. If the server says that it's failed to load metamod, it may well just be talking about loading the 32bit metamod and had in fact successfully loaded the 64bit one but didn't tell you.
Before panicking (like I did) and trying to find why metamod isn't loading, run
Code:

meta version
to check whether it has in fact successfully loaded


All times are GMT -4. The time now is 21:08.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.