blacklistt 16 Posted June 4, 2021 Share Posted June 4, 2021 (edited) While opening channels after gcc 9 upgrade, I got the following error as many people have encountered, although lib32 has libstdc++.so.6: Quote /usr/lib32/libstdc++.so.6: version CXXABI_1.3.8 required by /usr/game/share/bin/ game not found Then I installed gcc 9 on the server where I opened the game, however, when I opened the channels, I got the following error: Quote /usr/local/lib/gcc9/libstdc++.so.6: unsupported file layout Then I moved the libstdc++.so.6 file in /usr/local/lib32/gcc9 to /usr/lib32 and removed gcc9 from the machine. After that, the channels open quite normally. Then, when I open the client, the following error appears in putty: Quote /usr/game # terminate called after throwing an instance of ' std::length_error' what(): basic_string::append With this error, game.core occurs on auth and ch1. CH1 game.core: Edited August 25, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Developer Mitachi 1467 Posted June 5, 2021 Developer Share Posted June 5, 2021 Something tells me you are using martysama, I'm not sure so I'll give you a chance Add "-static" in your CFLAGS (Makefile game/db) 1 Link to comment Share on other sites More sharing options...
blacklistt 16 Posted June 6, 2021 Author Share Posted June 6, 2021 (edited) 11 hours ago, Mitachi said: Something tells me you are using martysama, I'm not sure so I'll give you a chance Add "-static" in your CFLAGS (Makefile game/db) im using mainline. I added -static in cflags. Currently there is no "basic_string::append" error in putty. But when I open the client game.core comes up and the content of game.core changed to: Edited August 25, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Developer Mitachi 1467 Posted June 6, 2021 Developer Share Posted June 6, 2021 What guide did you follow to update the compiler? you have to modify some files you know? Link to comment Share on other sites More sharing options...
blacklistt 16 Posted June 6, 2021 Author Share Posted June 6, 2021 1 hour ago, Mitachi said: What guide did you follow to update the compiler? you have to modify some files you know? I watched a video on Youtube. About gcc9 upgrade and extern update. Link to comment Share on other sites More sharing options...
Developer Solution Mitachi 1467 Posted June 6, 2021 Developer Solution Share Posted June 6, 2021 This is the hidden content, please Sign In or Sign Up Use this, you can thank him @Mali61 (Use only part in source) 86 2 1 1 2 1 29 3 37 Link to comment Share on other sites More sharing options...
blacklistt 16 Posted June 6, 2021 Author Share Posted June 6, 2021 3 hours ago, Mitachi said: This is the hidden content, please Sign In or Sign Up Use this, you can thank him @Mali61 (Use only part in source) thanks, worked! 13 1 2 Link to comment Share on other sites More sharing options...
Developer Mitachi 1467 Posted June 6, 2021 Developer Share Posted June 6, 2021 (edited) No problem, you can close the thread, if you have other problems, do not hesitate to write to me Edited June 6, 2021 by Mitachi 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now