GithubHelp home page GithubHelp logo

Build Issue about goversioninfo HOT 4 CLOSED

josephspurrier avatar josephspurrier commented on August 15, 2024
Build Issue

from goversioninfo.

Comments (4)

dhaavi avatar dhaavi commented on August 15, 2024 2

Try the -64 flag.
Effect: generate 64-bit binaries

I had the same problem. Setting this flag resolved it.

from goversioninfo.

the-goodies avatar the-goodies commented on August 15, 2024

Same, using CGO (sqlite3) and golang 1.12.1 version. Tried with -ldflags="-linkmode=internal" flag as suggested somewhere, it compiles, but upon start throws some data dump gibberish related to sqlite3 and exits.
When downgraded to golang version 1.11.6 and compiled with that flag it finally successfully compiled and started. However when compressed the binary with UPX it didn't start again - throws data dump and exits.
So have to use an older version and no binary compression for me if i want to include that icon 😢

from goversioninfo.

wegoodwin avatar wegoodwin commented on August 15, 2024

from goversioninfo.

josephspurrier avatar josephspurrier commented on August 15, 2024

Closing - reopen if it's still an issue. Thanks @dhaavi!

from goversioninfo.

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.