Unbound - About
Unbound is a validating, recursive, caching DNS resolver. It is designed to be fast and lean and incorporates modern fea...
Unboundの開発版であるSVN RepositoryのChangelogを見ていると、パフォーマンスの改善や機能実装の追加などが色々と盛り込まれているのを確認したところ、ちょっと試してみたくなったのでコンパイルしてみることにしました。
しかし、コンパイルしようとすると./configure
は通るのですが、makeが通らないという問題に直面しました。
/usr/bin/ld: .libs/context.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: .libs/context.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: .libs/context.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: .libs/context.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: .libs/context.o: Relocations in generic ELF (EM: 40)
.libs/context.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make: *** [libunbound.la] Error 1
.libs/context.o: could not read symbols: File in wrong format
とはなんぞやという感じなのですが、肝心な情報が見つからずに難儀していたのですが、折よく症状が似ているものについて解決策が掲載されていたので実行してみたところ、問題なくコンパイルが通るようになりました。
[Unbound-users] unbound 1.4.21 + openssl 1.0.1f make fail
./configure --with-libevent --with-pthreads --with-ssl --disable-rpath --disable-static --with-conf-file=/var/unbound/unbound.conf --with-pidfile=/var/run/unbound.pid --enable-sha2 --disable-gost --disable-ecdsa --disable-shared
最後に付けた「--disable-shared
」オプションを付与することでコンパイルを通すことが出来るようになりました。
実践DNS DNSSEC時代のDNSの設定と運用 (アスキー書籍)
posted with amazlet at 19.09.20
角川アスキー総合研究所 (2014-02-20)
売り上げランキング: 151,486
売り上げランキング: 151,486