metamod-r
metamod-r copied to clipboard
Compile on Debian 12
Hi there im using this for compiling ./build.sh --compiler=gcc
Everything ok, but at the end when server is starting
LoadLibrary failed on /home/container/./cstrike/addons/metamod/dlls/metamod_i386.so: ./libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /home/container/./cstrike/addons/metamod/dlls/metamod_i386.so) Host_Error: Couldn't get DLL API from /home/container/./cstrike/addons/metamod/dlls/metamod_i386.so! FATAL ERROR (shutting down): Host_Error: Couldn't get DLL API from /home/container/./cstrike/addons/metamod/dlls/metamod_i386.so!
Server is runing inside Pterodactyl container Tryed: ./build.sh --compiler=gcc --jobs=10 -D=USE_STATIC_LIBSTDC=OFF / ON no one works, how are you compiling it, cuz your version works fine :)
Thanks
Hello, look at this file, Linux section.
Try this steps?
update:
try to set USE_STATIC_LIBSTDC option via
-DUSE_STATIC_LIBSTDC=OFF
instead
-D=USE_STATIC_LIBSTDC=OFF
this option add -static-libgcc -static-libstdc++
gcc flags. Alternatively, you could add it manually. Maybe also with -static
flag too.