dblab-sqlite3 does not work on OSX
kascote opened this issue · comments
Describe the bug
when try to execute dblab-sqlite
on OSX gives this error
Error: 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 https://github.com/danvergara/dblab/releases/download/v0.16.0/dblab_0.16.0_darwin_arm64.tar.gz
- extract and move executable to a directory on path
- execute it
- See error
Expected behavior
open the database and show the content
OS (please complete the following information):
❱ uname -a
Darwin mary3jane.local 21.6.0 Darwin Kernel Version 21.6.0: Mon Aug 22 20:19:52 PDT 2022; root:xnu-8020.140.49~2/RELEASE_ARM64_T6000 arm64
Additional context
Add any other context about the problem here.
A release candidate for a bugfix has been shipped, Please, go check it out!
https://github.com/danvergara/dblab/releases/tag/untagged-663792a1cf9ae3c9e192
@kascote thanks, already on it. It has to do with a misconfiguration we have in the goreleaser setup.
https://github.com/danvergara/dblab/releases/tag/v0.16.1-rc1
Try again, please. Note that you can find a different compressed file for every flavor of the binary (regular and sqlite). Not in the same compressed file anymore.
now the app starts but works strange. I can't see the table contents/structure. I can write a sql query but doesn't execute, there is something odd with some keybindings, I tried with Kitty and Terminal app (btw on Terminal the app freeze after trying to execute the sql query). I know this isn't a proper but report, but I don't have time now for a correct review.
I think for now this ticket is fixed. On the weekend I'll try to take another shot and may be wrote some ticket. Thanks!