Skip to content

Could not determine kind of name for #505

Closed
@mingrammer

Description

@mingrammer
# github.com/sundaytoz/sql-notebook/vendor/github.com/mattn/go-sqlite3
vendor/github.com/mattn/go-sqlite3/backup.go:24:5: could not determine kind of name for C.sqlite3_backup
vendor/github.com/mattn/go-sqlite3/backup.go:73:9: could not determine kind of name for C.sqlite3_backup_finish
vendor/github.com/mattn/go-sqlite3/backup.go:34:10: could not determine kind of name for C.sqlite3_backup_init
vendor/github.com/mattn/go-sqlite3/backup.go:63:13: could not determine kind of name for C.sqlite3_backup_pagecount
vendor/github.com/mattn/go-sqlite3/backup.go:58:13: could not determine kind of name for C.sqlite3_backup_remaining
vendor/github.com/mattn/go-sqlite3/backup.go:47:9: could not determine kind of name for C.sqlite3_backup_step
The command '/bin/sh -c go build -o ${APP_NAME} --tags "libsqlite3 linux"' returned a non-zero code: 2

I ran go build -o ${APP_NAME} --tags "libsqlite3 linux" on CentOS 5.8 with Go 1.9.2, and it was failed with above message.

I have a gcc and sqlite/sqlite-devel on my docker machine.

How can I solve it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions