# github.com/hyperledger/fabric/vendor/github.com/miekg/pkcs11
../../../../vendor/github.com/miekg/pkcs11/pkcs11.go:26:10: fatal error: 'ltdl.h' file not found
#include <ltdl.h>
^~~~~~~~
1 error generated.
---------------------------------------------
进入https://brew.sh/index_zh-cn,看到执行命令:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
安装brew
---------------------------------------------
安装libtool就可以了,步骤如下:
brew install libtool
转载于:https://my.oschina.net/duojin/blog/3019705