noborus / trdsql

CLI tool that can execute SQL queries on CSV, LTSV, JSON, YAML and TBLN. Can output to various formats.
https://noborus.github.io/trdsql/
MIT License
1.96k stars 73 forks source link

build error #26

Open Moonlightflower opened 5 years ago

Moonlightflower commented 5 years ago

-GOOS:linux -GOPACH:amd64 --github.com/mattn/go-sqlite3 github.com\mattn\go-sqlite3\sqlite3_go18.go:18:10: undefined: SQLiteConn github.com\mattn\go-sqlite3\sqlite3_go18.go:26:10: undefined: SQLiteConn github.com\mattn\go-sqlite3\sqlite3_go18.go:27:17: undefined: namedValue github.com\mattn\go-sqlite3\sqlite3_go18.go:29:13: undefined: namedValue github.com\mattn\go-sqlite3\sqlite3_go18.go:35:10: undefined: SQLiteConn github.com\mattn\go-sqlite3\sqlite3_go18.go:36:17: undefined: namedValue github.com\mattn\go-sqlite3\sqlite3_go18.go:44:10: undefined: SQLiteConn github.com\mattn\go-sqlite3\sqlite3_go18.go:49:10: undefined: SQLiteConn github.com\mattn\go-sqlite3\sqlite3_go18.go:54:10: undefined: SQLiteStmt github.com\mattn\go-sqlite3\sqlite3_go18.go:63:10: undefined: SQLiteStmt github.com\mattn\go-sqlite3\sqlite3_go18.go:36:17: too many errors

noborus commented 5 years ago

Please tell me the information including environment and build commands. trdsql needs c-compiler to build sqlite. Cross Compiling further requires a library.