View Single Post
kaju666
Junior Member
Join Date: Feb 2010
Old 12-18-2023 , 15:06   Re: [EXTENSION] System2 - Easy to use HTTP(S)/FTP Request API and useful system nativ
Reply With Quote #130

Quote:
Originally Posted by LionCrest View Post
Though, very inconvenient, this can be fixed manually:

PHP Code:
# Install lib32stdc++6, if your system doesn't have it:
# $ apt-get update && apt-get install lib32stdc++6
mv /<path_to_l4d2_server>/bin/libstdc++.so.6 /<path_to_l4d2server>/bin/libstdc++_old.so.6
mv /<path_to_l4d2_server>/bin/dedicated/libstdc++.so.6 /<path_to_l4d2_server>/bin/dedicated/libstdc++_old.so.6
ln -/usr/lib32/libstdc++.so.6 /<path_to_l4d2server>/bin/libstdc++.so.6
ln -/usr/lib32/libstdc++.so.6 /<path_to_l4d2server>/bin/dedicated/libstdc++.so.6 
I've been running my servers with this for more than a year on Debian 8 and never experienced an issue.

Whenever you validate your server files with SteamCMD (app_update 222860 validate) it will re-download the original bin/lib32stdc++.so.6 and bin/dedicated/lib32stdc++.so.6 files, so you will have to symlink the system version again.

You may try setting file's permissions as read-only (chmod 0444), but i didn't do that, because I don't think that's a very good idea.

THANK YOU! you solved my issue
i use alma linux 9, copied libstdc++.so.6 from /lib to /bin of the server and it working
kaju666 is offline