继续浏览精彩内容
慕课网APP
程序员的梦工厂
打开
继续
感谢您的支持,我会继续努力的
赞赏金额会直接到老师账户
将二维码发送给自己后长按识别
微信支付
支付宝支付

go build后出现libWeWorkFinanceSdk_C.so报错

肆意青春
关注TA
已关注
手记 2
粉丝 1
获赞 0

问题描述:

/tmp/go-build3735770271/b001/exe/main: error while loading shared libraries: libWeWorkFinanceSdk_C.so: cannot open shared object file: No such file or directory
exit status 127

解决方案:

go get -u github.com/NICEXAI/WeWorkFinanceSDK
sudo vi /etc/ld.so.conf

添加:

/go/pkg/mod/github.com/!n!i!c!e!x!a!i/!we!work!finance!s!d!k@v1.0.13/lib 至ld.so.conf (上面的路径是你go get WeWorkFinanceSDK后的路径)

sudo ldconfig


打开App,阅读手记
0人推荐
发表评论
随时随地看视频慕课网APP