This commit is contained in:
mei
2025-10-07 10:16:53 +08:00
parent 59ed005fc5
commit 1d1add5f56
3 changed files with 38 additions and 11 deletions
@@ -5,8 +5,9 @@ tags:
- linux
- Gitea
- 1Panel
- Go
categories:
- Linux
- Go
index_img: /img/2025/gitea-actions-1panel-go/actions.png
banner_img: /img/2025/gitea-actions-1panel-go/actions.png
permalink: /articles/2025/gitea-actions-1panel-go.html
+27
View File
@@ -0,0 +1,27 @@
---
title:
tags:
- 学习笔记
- linux
- Go
categories:
- Go
permalink: /articles/2025/musl-and-go.html
date: 2025-10-04 15:38:45
---
root@mei-home:/opt/apps/Thermohygrometer# ./main
-bash: ./main: cannot execute: required file not found
root@mei-home:/opt/apps/Thermohygrometer# ls
main sql.db templates
root@mei-home:/opt/apps/Thermohygrometer# file ./main
./main: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-musl-x86_64.so.1, BuildID[sha1]=aaf248e63656640884f4398b4b91f7816874f991, with debug_info, not stripped
root@mei-home:/opt/apps/Thermohygrometer# ldd ./main
linux-vdso.so.1 (0x00007ffd949ea000)
libc.musl-x86_64.so.1 => not found
root@mei-home:/opt/apps/Thermohygrometer# ldd ./main
not a dynamic executable