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

kubero-cli for Linux amd64 does not start: "failed to initialize database, got error Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work. This is a stub" #630

Open
kastl-ars opened this issue Mar 18, 2025 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@kastl-ars
Copy link

Which component(s) is affected?

Kubero CLI

Describe the bug

$ /kubero help

2025/03/18 08:49:41 /home/runner/work/kubero-cli/kubero-cli/cmd/kuberoCli/root.go:86
[error] failed to initialize database, got error Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work. This is a stub
2025/03/18 08:49:41 Failed to connect to database:Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work. This is a stub
$./kubero --help

2025/03/18 08:52:02 /home/runner/work/kubero-cli/kubero-cli/cmd/kuberoCli/root.go:86
[error] failed to initialize database, got error Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work. This is a stub
2025/03/18 08:52:02 Failed to connect to database:Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work. This is a stub
$

Steps to reproduce

  1. I downloaded the kubero-cli for Linux amd64: kubero-cli_linux_amd64.tar.gz
  2. I unpacked the tarball
  3. I ran the following command: ./kubero --help

Expected behavior

The usage information should be shown.

Screenshots

No response

Additional information

No response

Debug information

No response

@kastl-ars kastl-ars added the bug Something isn't working label Mar 18, 2025
@mms-gianni
Copy link
Member

I assume you are using v2.4.7 . I ran into the same issue. It is fixed version 3.0.0 which will be released soon.

Pleas use use v2.4.1, which should work fine, with kubero UI version 2.4.7

@mms-gianni mms-gianni self-assigned this Mar 18, 2025
@kastl-ars
Copy link
Author

Yes, sorry, the version was included in the link to the tarball:

[kubero-cli_linux_amd64.tar.gz](https://github.com/kubero-dev/kubero-cli/releases/download/v2.4.7/kubero-cli_linux_amd64.tar.gz)

If this is a known issue, then I am fine. I just did not find an existing issue for this (maybe because version is too broad a search term).

Do you have a bug/issue that I could follow for this?

@faelmori
Copy link

I hope this fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants