mindoc-org / mindoc

Golang实现的基于beego框架的接口在线文档管理系统
https://mindoc.com.cn/docs/mindochelp
Apache License 2.0
7.29k stars 1.9k forks source link

register db Ping `default`, Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo #554

Open wsljsj opened 4 years ago

wsljsj commented 4 years ago

请按照一下格式提交issue,谢谢!

  1. 你当前使用的是哪个版本的 MinDoc(godoc_linux_amd64 version)? 2.0,自己编译的,

  2. 你当前使用的是什么操作系统? linux gcc64le

  3. 你是如何操作的? 数据库配置 sqlite3,install 时报错

  4. 你期望得到什么结果? 安装成功

  5. 当前遇到的是什么结果? 安装不成功

wsljsj commented 4 years ago

从linux amd64交叉编译成ppc64时指定参数CGO_ENABLED=1,编译失败