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

Bad ARM64 Linux release binary - compiled without working SQLite? #218

Open
justinclift opened this Issue Feb 6, 2019 · 1 comment

Comments

Projects
None yet
1 participant
@justinclift
Copy link

justinclift commented Feb 6, 2019

Just went to install Fathom on a new web server, ARM64 arch.

The official 1.2.1 download seems to be broken, as trying to use it with a SQLite database gives this:

# fathom server
INFO[0000] Fathom version 1.2.1, commit 8f7c6d2e45ebb28651208e2a7320e29948ecdb2c,
built at 2018-11-30T09:21:37Z 
INFO[0000] Configuration file: /root/fathom/.env        
FATA[0000] Error connecting to database: Binary was compiled with 'CGO_ENABLED=0',
go-sqlite3 requires cgo to work. This is a stub

Note - seems similar to the incorrectly reported #200.

In this instance, I'm pretty sure I've grabbed the correct tarball though, as uname -a on the box gives:

Linux sqlitebrowser.org 4.4.96-mainline-rev1 #1 SMP Thu Nov 2 11:51:37 UTC 2017 aarch64
aarch64 aarch64 GNU/Linux

Which matches up with the fathom_1.2.1_linux_arm64.tar.gz download.

Is anyone else running the ARM64 release download successfully? 😄

@justinclift justinclift changed the title Bad ARM64 Linux release binary - compiled with working SQLite? Bad ARM64 Linux release binary - compiled without working SQLite? Feb 6, 2019

@justinclift

This comment has been minimized.

Copy link
Author

justinclift commented Feb 6, 2019

As a workaround, the PostgreSQL driver seems functional so using that for now instead. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment