-
我尝试使用centos6.4运行centos7.4编译出来的产物,没有成功,又尝试运行官方发行版。也没有启动成功。显示缺少依赖,哪位大佬可以帮看看这个问题。 `[root@i-j8zdncbq ~]# wget https://ilogtail-community-edition.oss-cn-shanghai.aliyuncs.com/latest/ilogtail-latest.linux-amd64.tar.gz 100%[============================================>] 44,496,979 61.1M/s in 0.7s 2023-11-14 09:53:57 (61.1 MB/s) - “ilogtail-latest.linux-amd64.tar.gz” saved [44496979/44496979] [root@i-j8zdncbq ~]# tar -xzvf ilogtail-latest.linux-amd64.tar.gz [1]+ Exit 1 ./ilogtail |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
你可能需要对ilogtail进行重新编译,打开ENABLE_COMPATIBLE_MODE编译开关,可以手动改一下core/CMakeList.txt |
Beta Was this translation helpful? Give feedback.
在 scripts/gen_build_scripts.sh 把这两个值默认改为on后编译 在低版本可以成功运行
ENABLE_COMPATIBLE_MODE=${ENABLE_COMPATIBLE_MODE:-ON}
ENABLE_STATIC_LINK_CRT=${ENABLE_STATIC_LINK_CRT:-ON}