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

ARM UBUNTU18报错NO ABI matched #474

Closed
zhuangzhuang3 opened this issue Sep 2, 2024 · 1 comment
Closed

ARM UBUNTU18报错NO ABI matched #474

zhuangzhuang3 opened this issue Sep 2, 2024 · 1 comment

Comments

@zhuangzhuang3
Copy link

请问是否是不支持在这个系统部署该项目
image
image
image

@sergystepanov
Copy link
Collaborator

sergystepanov commented Sep 2, 2024

我猜測你的系統配置不支援靜態鏈接的 SDL2。可以參考這裡:這裡這裡

我認為你可以編譯它,但不能靜態鏈接。在 Dockerfile 中,將以下這行的 GO_TAGS=static,st 設為空白 -> GO_TAGS=:
RUN --mount=type=cache,target=/root/.cache/go-build make GO_TAGS=static,st build.worker
然後添加所需的庫:libopus-dev、libsdl2-dev、libvpx-dev、libyuv-dev、libjpeg-turbo8-dev、libx264-dev;如果需要 OpenGL,還需要 x11 和 mesa;以及 ca-certificates。這應該是 Docker 映像的最後一步。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants