问题描述:
/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