信创环境`GLIBC_2.34' not found #6130
-
联系方式No response 1Panel 版本v1.10.13-lts 问题描述环境信息root@D2000-pc:~# ldd --version
ldd (Ubuntu GLIBC 2.31-0kylin9.1k21.4) 2.31
root@D2000-pc:~# uname -a
Linux D2000-pc 5.4.18-110-generic #99-KYLINOS SMP Fri Mar 29 09:29:18 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
root@D2000-pc:~# lscpu
Architecture: aarch64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Thread(s) per core: 1
Core(s) per socket: 8
Socket(s): 1
NUMA node(s): 1
Vendor ID: 0x70
Model: 3
Model name: Phytium,D2000/8 E8C
Stepping: 0x1
CPU max MHz: 2300.0000
CPU min MHz: 575.0000
BogoMIPS: 96.00
L1d cache: 256 KiB
L1i cache: 256 KiB
L2 cache: 8 MiB
L3 cache: 4 MiB
NUMA node0 CPU(s): 0-7
Vulnerability Gather data sampling: Not affected
Vulnerability Itlb multihit: Not affected
Vulnerability L1tf: Not affected
Vulnerability Mds: Not affected
Vulnerability Meltdown: Vulnerable
Vulnerability Mmio stale data: Not affected
Vulnerability Retbleed: Not affected
Vulnerability Spec store bypass: Vulnerable
Vulnerability Spectre v1: Mitigation; __user pointer sanitization
Vulnerability Spectre v2: Vulnerable
Vulnerability Srbds: Not affected
Vulnerability Tsx async abort: Not affected
Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid 安装运行后会出现下面类似错误 Aug 14 10:09:17 D2000-pc 1panel[1293505]: /usr/bin/1panel: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (req>
Aug 14 10:09:17 D2000-pc 1panel[1293505]: /usr/bin/1panel: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (req>
Aug 14 10:09:17 D2000-pc systemd[1]: 1panel.service: Main process exited, code=exited, status=1/FAILURE 重现步骤参考说明,增加 CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -v -trimpath -ldflags '-s -w' -o build/1panel ./cmd/server/main.go 供参考,不知官方分发的二进制是否考虑更新编译方式。现在信创环境底层依赖五花八门,一言难尽。 期待的正确结果No response 相关日志输出No response 附加信息No response |
Beta Was this translation helpful? Give feedback.
Answered by
wanghe-fit2cloud
Aug 14, 2024
Replies: 1 comment
-
感谢反馈! 1Panel 官方提供的二进制文件在打包时默认不启用 cgo, |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
NepPure
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
感谢反馈!
1Panel 官方提供的二进制文件在打包时默认不启用 cgo,
CGO_ENABLED=0
。因此,问题很可能与服务器环境有关。由于我们尚未在麒麟 arm64 系统上进行过测试,目前无法提供确切的解决方案,望理解。