我正在尝试使用go build构建一个链码。当我运行Go build命令时,它的报告
.\hyperledger\fabric\vendor\github.com\miekg\pkcs11\pkcs11.go:29:18:
fatal error:ltdl.h: No such file or directory
compilation terminated我从这个link安装了libtools。但是我得到了同样的错误
发布于 2017-05-11 20:48:31
我在ubuntu上用的是:sudo apt install libltdl-dev
发布于 2017-11-07 14:28:04
如果您使用的是centos/RHEL 7,则可以使用以下代码
yum install libtool-ltdl-devel发布于 2018-04-11 03:35:45
对于Mac,请确保已安装brew。以下命令对我有效:
brew install libtoolhttps://stackoverflow.com/questions/43626320
复制相似问题