在低版本linux系统中启动ilogtail报libc版本低的错误 #500
-
在centos6的机器上运行ilogtail 报 libc 版本低的问题,有啥好解决办法吗,编译时候需要加上什么参数吗? [root@astable-mysql-1 work]# ./ilogtail |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
core/CMakeList.txt中有2个编译开关可以启动低版本兼容模式 编译时可以通过环境变量打开开关 |
Beta Was this translation helpful? Give feedback.
core/CMakeList.txt中有2个编译开关可以启动低版本兼容模式
option(ENABLE_COMPATIBLE_MODE "Build Logtail in compatible mode (for low version Linux)" OFF)
option(ENABLE_STATIC_LINK_CRT "Build Logtail by linking CRT statically" OFF)
编译时可以通过环境变量打开开关
ENABLE_COMPATIBLE_MODE=ON
ENABLE_STATIC_LINK_CRT=ON