Skip to content
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

ghz-web linux compiled with 'CGO_ENABLED=0' with go-sqlite3 #137

Closed
btran55 opened this issue Oct 29, 2019 · 4 comments
Closed

ghz-web linux compiled with 'CGO_ENABLED=0' with go-sqlite3 #137

btran55 opened this issue Oct 29, 2019 · 4 comments
Assignees
Labels
bug Something isn't working WEB Issues for ghz-web

Comments

@btran55
Copy link

btran55 commented Oct 29, 2019

Command line arguments / config
List all command line arguments or config properties
./ghz-web -config web.toml

port = 80   # the port for the http server

[database]  # the database options
type = "sqlite3"
connection = "data/ghz.db"

[log]
level = "info"          # log level
path = "/tmp/ghz.log"   # the path to log file, otherwize stdout is used

Describe the bug

After running CLI command with default config settings given in docs getting Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work. This is a stub

To Reproduce
Steps to reproduce the behavior:

Download latest binary for linux and try to start ghz-web with default config given in docs.

Expected behavior
it starts

Environment

  • OS: Linux
  • ghz: 0.42.0 or 0.41.0
@bojand bojand self-assigned this Oct 31, 2019
@bojand bojand added the WEB Issues for ghz-web label Oct 31, 2019
@bojand bojand added the bug Something isn't working label Nov 29, 2019
@Ekliptor
Copy link

any update on this?

@babayega
Copy link

Any progress on this?

@bojand
Copy link
Owner

bojand commented Apr 27, 2020

Hello, I am a bit constrained with time these days but will try and get to this soonish. As a work around one can build the project with go-sqlite3 support and CGO_ENABLED=1 manually for their target platform.

@bojand
Copy link
Owner

bojand commented May 13, 2020

Hello, I believe this should be addressed now in 0.53.0. Please reopen issue with any additional details if it is still persists.

@bojand bojand closed this as completed May 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working WEB Issues for ghz-web
Projects
None yet
Development

No branches or pull requests

4 participants