Raised This Month: $12 Target: $400
 3% 

Metamod source version 'GCC_7.0.0' not found


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
valio_skull
Senior Member
Join Date: Jan 2013
Location: at home
Old 12-06-2022 , 07:04   Metamod source version 'GCC_7.0.0' not found
Reply With Quote #1

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.
__________________

Last edited by valio_skull; 12-06-2022 at 07:30.
valio_skull is offline
CryWolf
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 12-06-2022 , 13:30   Re: Metamod source version 'GCC_7.0.0' not found
Reply With Quote #2

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
__________________
I dont walk trough this world with fear in my heart.
www.dark-arena.com L4D, CS1.6, CZ Servers

Last edited by CryWolf; 12-06-2022 at 13:31.
CryWolf is offline
Send a message via MSN to CryWolf Send a message via Yahoo to CryWolf
valio_skull
Senior Member
Join Date: Jan 2013
Location: at home
Old 12-06-2022 , 15:17   Re: Metamod source version 'GCC_7.0.0' not found
Reply With Quote #3

Quote:
Originally Posted by CryWolf View Post
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 View Post
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.
__________________
valio_skull is offline
CryWolf
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 12-06-2022 , 15:25   Re: Metamod source version 'GCC_7.0.0' not found
Reply With Quote #4

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
__________________
I dont walk trough this world with fear in my heart.
www.dark-arena.com L4D, CS1.6, CZ Servers

Last edited by CryWolf; 12-06-2022 at 15:27.
CryWolf is offline
Send a message via MSN to CryWolf Send a message via Yahoo to CryWolf
valio_skull
Senior Member
Join Date: Jan 2013
Location: at home
Old 12-06-2022 , 18:25   Re: Metamod source version 'GCC_7.0.0' not found
Reply With Quote #5

Quote:
Originally Posted by CryWolf View Post
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 View Post
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 View Post
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 View Post
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
__________________

Last edited by valio_skull; 12-06-2022 at 18:34.
valio_skull is offline
CryWolf
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 12-07-2022 , 09:31   Re: Metamod source version 'GCC_7.0.0' not found
Reply With Quote #6

All right

I think a update to sourcemod will fix things.
__________________
I dont walk trough this world with fear in my heart.
www.dark-arena.com L4D, CS1.6, CZ Servers
CryWolf is offline
Send a message via MSN to CryWolf Send a message via Yahoo to CryWolf
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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