Code Monkey home page Code Monkey logo

Comments (11)

KadoBOT avatar KadoBOT commented on July 18, 2024 1

@sumkincpp It wasn't the case for me. I even did a xcode-select --install to make sure, and got the same error. What's fixed for me was the input I provided in the description.

from weaver.

slewiskelly avatar slewiskelly commented on July 18, 2024

It would be worthwhile to provide more information about your environment, so that someone can try and reproduce or provide advice.

The output of go env might be a good start.

from weaver.

KadoBOT avatar KadoBOT commented on July 18, 2024

Thanks @slewiskelly, I have updated the description with the output of the go env

from weaver.

sumkincpp avatar sumkincpp commented on July 18, 2024

@KadoBOT You probably missing xcode Command Line Tools under the MAC, so https://github.com/mattn/go-sqlite3 cannot be successfully installed

from weaver.

iamvasanth07 avatar iamvasanth07 commented on July 18, 2024

Yes, by setting the export CC=gcc flag which sets the right C compiler to use for building the binary which also includes the standard libraries. If GCC is installed properly this issue may not arise at all.

from weaver.

spetrovic77 avatar spetrovic77 commented on July 18, 2024

Thanks for reporting. May be similar to this issue filed against Golang:
golang/go#39232

Not sure there's anything we can do other than point it out in our installation guide. We may also look at using non-CGO alternatives to sqlite.

from weaver.

breml avatar breml commented on July 18, 2024

For the cgo free sqlite driver, have a look at https://pkg.go.dev/modernc.org/sqlite

from weaver.

spetrovic77 avatar spetrovic77 commented on July 18, 2024

from weaver.

spetrovic77 avatar spetrovic77 commented on July 18, 2024

@breml This is not a license I'm familiar with, unfortunately. Go seems to think it's okay, you think therefore it's okay to link to?
https://gitlab.com/cznic/sqlite/-/blob/v1.21.0/LICENSE

from weaver.

breml avatar breml commented on July 18, 2024

By a quick check to me, this looks like a BSD 3-Clause “New” or “Revised” License or similar.
That being said, I am not a lawer nor a specialist in licensing and I did not perform a word by word comparison.

from weaver.

rgrandl avatar rgrandl commented on July 18, 2024

We added a note about this issue in the installation section. Thank you all for checking and the fix.

from weaver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.