LoginSignup
0
0

More than 5 years have passed since last update.

daemontools のインストール

Posted at

概要

https://cr.yp.to/daemontools/install.html
に沿ってインストールしたところ、次のようなエラーが出てうまく行かなかった。
(centos7)

./load envdir unix.a byte.a
/usr/bin/ld: errno: /lib64/libc.so.6 内セクション .tbss の TLS 定義は envdir.o 内の非 TLS 参照と一致しません
/lib64/libc.so.6: シンボルを読み込めませんでした: 不正な値です
collect2: エラー: ld はステータス 1 で終了しました
make[1]: *** [envdir] エラー 1
make[1]: ディレクトリ `/package/admin/daemontools-0.76/compile' から出ます
make: *** [daemontools] エラー 2

解決策

以下のようにファイルを書き換えて実行すると、うまくいった。

[root@localhost ~]# cat /package/admin/daemontools/compile/conf-cc
gcc -O2 --include /usr/include/errno.h

This will be used to compile .c files.
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0