AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Metamod:Source Questions (https://forums.alliedmods.net/forumdisplay.php?f=74)
-   -   Metamod source version 'GCC_7.0.0' not found (https://forums.alliedmods.net/showthread.php?t=340740)

valio_skull 12-06-2022 07:04

Metamod source version 'GCC_7.0.0' not found
 
It seems I'm encountering an old issue. Metamod won't load at all on my cs go server.
I tried several builds, all with the same outcome.

server output:
Quote:

failed to dlopen /home/steam/.steam/steamcmd/cs_go/csgo/addons/metamod/bin/linux64/server.so error=/home/steam/.steam/steamcmd/cs_go/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"
addons/metamod/bin/metamod-fatal.log output:
Quote:

L 12/06/2022 - 02:47:49: Detected engine 11 but could not load: /home/steam/.steam/steamcmd/cs_go/bin/libgcc_s.so.1: version `GCC_7.0.0' not found (required by /usr/lib32/libstdc++.so.6)
L 12/06/2022 - 09:14:58: Detected engine 11 but could not load: /home/steam/.steam/steamcmd/cs_go/bin/libgcc_s.so.1: version `GCC_7.0.0' not found (required by /usr/lib32/libstdc++.so.6)
L 12/06/2022 - 11:04:00: Detected engine 11 but could not load: /home/steam/.steam/steamcmd/cs_go/bin/libgcc_s.so.1: version `GCC_7.0.0' not found (required by /usr/lib32/libstdc++.so.6)
And no. Renaming or deleting bin/libgcc_s.so.1 won't work. Doing that will drive the server into a restart loop.

I use Artix linux (arch based btw).
I tried installing a few packages that were relevant, like gcc7-libs, base-devel and a few other. Arch lib packages are named a bit differently from debian based distros.
And no. I won't switch to another distro.

CryWolf 12-06-2022 13:30

Re: Metamod source version 'GCC_7.0.0' not found
 
Code:

failed to dlopen /home/steam/.steam
I think you should try to copy steamcmd/linux32 contents to /home/.steam/sdk32

And delete metamod/bin/linux64 dir and try start server, it will use x32 binary, also use the latest metamod-dev version

valio_skull 12-06-2022 15:17

Re: Metamod source version 'GCC_7.0.0' not found
 
Quote:

Originally Posted by CryWolf (Post 2794597)
I think you should try to copy steamcmd/linux32 contents to /home/.steam/sdk32

I don't have any sdk32 folder in my .steam directory, so I created it and added the contents of steamcmd/linux32.
Quote:

Originally Posted by CryWolf (Post 2794597)
And delete metamod/bin/linux64 dir and try start server, it will use x32 binary, also use the latest metamod-dev version

I've deleted metamod from my server, installed the latest dev build, deleted the metamod_x64.vdf and the metamod/bin/linux64 folder from the server. It throws the exact same error in metamod/bin/metamod-fatal.log and metamod doesn't work.

CryWolf 12-06-2022 15:25

Re: Metamod source version 'GCC_7.0.0' not found
 
You copyed the contents only without the linux32 folder,? only the contents i think it depends on distro mabye i was wrong you need to copy to /home/username/.steam/sdk32

Any reason to run a desktop based Distro to run Server's ?
If it's indeed a GLIBC / GCC error, i think you should compile the GCC 7 for your distibution

https://forums.alliedmods.net/showthread.php?t=336183
Seems this fixed on ubuntu, but you can try

valio_skull 12-06-2022 18:25

Re: Metamod source version 'GCC_7.0.0' not found
 
Quote:

Originally Posted by CryWolf (Post 2794612)
You copyed the contents only without the linux32 folder,? only the contents i think it depends on distro mabye i was wrong you need to copy to /home/username/.steam/sdk32

I copied the contents of linux32 in .steam/sdk32 (I had to create the sdk32 folder).

Quote:

Originally Posted by CryWolf (Post 2794612)
Any reason to run a desktop based Distro to run Server's ?

Artix is not a desktop distro. It's basically arch without systemd, so 10 times less bloated than smth like ubuntu.
Quote:

Originally Posted by CryWolf (Post 2794612)
If it's indeed a GLIBC / GCC error, i think you should compile the GCC 7 for your distibution

I've installed gcc7 from the arch user repository.
Quote:

Originally Posted by CryWolf (Post 2794612)
https://forums.alliedmods.net/showthread.php?t=336183
Seems this fixed on ubuntu, but you can try

When I rename the libgcc_s.so.1 into anything else I get this:
Code:

>>> UPLOADING /home/steam/.steam/steamcmd/cs_go/csgo/addons/sourcemod/data/dumps/16704798-07c9-9d04-6fe62ffe-702424a5.dmp
>>> UPLOADED CRASH DUMPYou need to upgrade acceleratorwn
        VoicePitch = 102
End
A>>> UPLOADED 1 CRASH DUMPS
L 12/06/2022 - 23:17:42: [SDKTOOLS] "FindEntityByClassname" not supported by this mod, falling back to IServerTools method.
Wrote minidump to: /home/steam/.steam/steamcmd/cs_go/csgo/addons/sourcemod/data/dumps/06948c25-8b1d-699a-56923eca-717a5fa2.dmp
./srcds_run: line 318: 22645 Segmentation fault      (core dumped) $HL_CMD
BFD: warning: /home/steam/.steam/steamcmd/cs_go/core has a segment extending past end of file

warning: Error reading shared library list entry at 0x31202955
Failed to read a valid object file image from memory.
warning: Error reading shared library list entry at 0x31202955
debug.cmds:5: Error in sourced command file:
No function contains program counter for selected frame.
email debug.log to [email protected]
Tue Dec  6 23:17:42 UTC 2022: Server restart in 10 seconds


EDIT: nevermind, now I realize that the ubuntu solution might have actually worked and the other issue is from my sourcemod plugins ? (gotta look into that, I haven't touched this plugin pack addons thingy in 5 years)
So metamod should work, I guess... Imma check rn without sourcemod

Edit 2: metamod works. i'm a dumbass. sorry for wasting your time
Spoiler

CryWolf 12-07-2022 09:31

Re: Metamod source version 'GCC_7.0.0' not found
 
All right

I think a update to sourcemod will fix things.


All times are GMT -4. The time now is 22:18.

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