metamod-r icon indicating copy to clipboard operation
metamod-r copied to clipboard

Compile on Debian 12

Open crywolfy opened this issue 1 year ago • 2 comments

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

crywolfy avatar Nov 29 '23 13:11 crywolfy

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.

stamepicmorg avatar Nov 29 '23 17:11 stamepicmorg