Let's connect!

Text (855) 455-2200

TIL: Turso’s go-libsql & Build Constraints Error

No. 05

TIL: Turso’s go-libsql & Build Constraints Error cover image
Turso

I was setting up a new Linux development environment and got the below error whenever I ran ‘go build’:

github.com/tursodatabase/go-libsql: 
build constraints exclude all Go 
files in [directory]

After scratching my head for a while, it dawned on me that the new environment might not have a C compiler installed. I tried installing ‘gcc’ and that solved the issue.

Hope this post can save someone else the amount of time I spent today trying to figure this out.

Cheers 🥂

About the author

More Articles