-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SIoT在linux下运行报go-sqlite3错误 #9
Comments
Error: Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work. This is a stub |
我在本地(ubuntu)和阿里云服务器(centos)上都会报这个问题。 |
我也遇到了,怎么解决的? |
[error] failed to initialize database, got error Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work. This is a stubpanic: failed to connect database 出现错误了设置: go env -w CGO_ENABLED=1 |
建议直接运行 docker 版本 |
Error: Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work. This is a stub
SIoT版本,1.1,1.2
运行环境,CentOS Linux release 7.6.1810 (Core)
The text was updated successfully, but these errors were encountered: