Open geraldstanje opened 4 days ago
Can you run go build with parameter -x
so that all program invocations are logged?
I am not sure why musl-gcc
is invoked with -m64
. And I'm not sure why it doesn't understand that parameter.
I am also not sure whether using musl-gcc
to link libraries that have otherwise been built against glibc is supposed to work.
In other words, I'm not sure whether I can help you on your path.
What does work is building YARA from sources using musl-gcc
as descibed in README.cross-building.md
.
Another option, since you are already using Docker, is to build using Alpine Linux or any other distribution that uses Musl as its standard libc.
Hi,
i have get some error to run the simple example on linux using docker. how can i build it using golang for a static build?
also what is the
Building without pkg-config
used for?here my dockerfile:
error: