标签:class libc.so.6 package too daemon err html scripts 使用
1. 访问页面 https://cr.yp.to/daemontools/install.html 下载 daemontools
2. 创建工作目录
mkdir -p /package chmod 1755 /package cd /package
3. 解压安装包并安装
mv daemontools-0.76.tar /package tar -zxvf daemontools-0.76.tar cd admin cd daemontools-0.76 ./package/install
4. 安装过程中出错及解决
1)出错代码
./load envdir unix.a byte.a /usr/bin/ld: errno: TLS definition in /lib64/libc.so.6 section .tbss mismatches non-TLS reference in envdir.o /lib64/libc.so.6: could not read symbols: Bad value collect2: ld returned 1 exit status make: *** [envdir] Error 1
2)解决
vim src/conf-cc # 在gcc 一行末尾增加 -include /usr/include/errno.h # 更改后 gcc -O2 -Wimplicit -Wunused -Wcomment -Wchar-subscripts -Wuninitialized -Wshadow -Wcast-qual -Wcast-align -Wwrite-strings -include /usr/include/errno.h
标签:class libc.so.6 package too daemon err html scripts 使用
原文地址:https://www.cnblogs.com/skadieye/p/10043901.html