本文列出个人在编译比特币程序bitcoind以及启动运行中遇到的问题。
1 执行autogen.sh libtool没有安装
Makefile.am:10: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:10: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:10: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:10: If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:10: its definition is in aclocal's search path.
解决方法:yum install libtool -y
2 执行autogen.sh aclocal找不到
解决方法:问题原因是机器没有安装autotool工具系列,需要安装automake和autoconf
yum install automake -y
yum install autoconf
3 configure: error: openssl not found
执行bitcoind目录下的configure过程中出现openssl库没有找到的情况,执行命令:openssl version -a 查看系统如果安装(大多数系统都会安装),则需要安装openssl-deve