Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile on Debian 12 #63

Open
crywolfy opened this issue Nov 29, 2023 · 2 comments
Open

Compile on Debian 12 #63

crywolfy opened this issue Nov 29, 2023 · 2 comments
Labels
Engine: ⚙️ Independent Case do not refer to any Engine. OS: 🐧 Linux Case refers to Linux. Priority: ⚠️ medium Medium priority tasks that should be addressed soon. Status: 🛟 help wanted Help wanted. Status: ⚠️ triage A label used to categorize issues for prioritization and organization.
Milestone

Comments

@crywolfy
Copy link

crywolfy commented Nov 29, 2023

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

@stamepicmorg
Copy link
Contributor

stamepicmorg commented Nov 29, 2023

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 stamepicmorg added Status: 🛟 help wanted Help wanted. OS: 🐧 Linux Case refers to Linux. Priority: ⚠️ medium Medium priority tasks that should be addressed soon. Status: ⚠️ triage A label used to categorize issues for prioritization and organization. Engine: ⚙️ Independent Case do not refer to any Engine. labels Dec 3, 2023
@stamepicmorg stamepicmorg added this to the TBD milestone Dec 6, 2023
@nixRidge
Copy link

Hello, just chiming in.
I was having this same issue on Arch Linux, but building with -DUSE_STATIC_LIBSTDC=ON made it work fine with the latest code.

Full command

./build.sh --compiler=gcc -j=4 -DUSE_STATIC_LIBSTDC=ON

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Engine: ⚙️ Independent Case do not refer to any Engine. OS: 🐧 Linux Case refers to Linux. Priority: ⚠️ medium Medium priority tasks that should be addressed soon. Status: 🛟 help wanted Help wanted. Status: ⚠️ triage A label used to categorize issues for prioritization and organization.
Projects
None yet
Development

No branches or pull requests

3 participants