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

"Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work." #3721

Closed
SamuAlfageme opened this issue Mar 10, 2023 · 2 comments · Fixed by #3723
Closed

"Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work." #3721

SamuAlfageme opened this issue Mar 10, 2023 · 2 comments · Fixed by #3723
Assignees

Comments

@SamuAlfageme
Copy link
Contributor

The localfs driver cannot start as revad was compiled with CGO_ENABLED=0 so go-sqlite cannot initialize the SQlite DB:

2023-03-10 09:54:10.065 ERR home/reva/cmd/revad/runtime/runtime.go:191 > error starting the http server error="http service dataprovider could not be started,: localfs: error initializing db: localfs: error preparing statement: Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work. This is a stub" pid=1

ref: https://github.com/cs3org/charts/actions/runs/4383273089/jobs/7673312467#step:5:168

@SamuAlfageme
Copy link
Contributor Author

Might be related to the discussion yesterday on #3703 (comment) as I remember in the past this was the case

@vascoguita
Copy link
Contributor

I'll have a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants