Comments (4)
Try the -64
flag.
Effect: generate 64-bit binaries
I had the same problem. Setting this flag resolved it.
from goversioninfo.
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.
from goversioninfo.
Closing - reopen if it's still an issue. Thanks @dhaavi!
from goversioninfo.
Related Issues (20)
- After #28, `already closed` error HOT 7
- Icon file not correctly closed HOT 5
- How to request admin rights? HOT 5
- rsrc merge failure: corrupt .rsrc section HOT 11
- undefined: pe.IMAGE_FILE_MACHINE_ARMNT HOT 4
- 32 bit build request HOT 1
- "goversioninfo": executable file not found in $PATH HOT 5
- Program terminates without errors when using the resource.syso
- Is it possible to speed up the runtime of goversioninfo? HOT 2
- JSON observations HOT 1
- Add Support for ARM builds HOT 3
- make versioninfo.json optional HOT 3
- Cannot specify new icon HOT 5
- dependencies not found (anymore) HOT 2
- Is there any similar library in linux HOT 2
- update go 1.18 - no goversion found HOT 9
- Windows arm64 support HOT 1
- Setting the IDI_APPLICATION icon? HOT 1
- set -file-version from shell
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goversioninfo.