Mac跑GoLand报错解决方案

为什么80%的码农都做不了架构师?>>>   hot3.png

# 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
         ^~~~~~~~
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

你可能感兴趣的:(ruby,xcode)