Closed HiraokaTakuya closed 1 year ago
I don't know much about pkg-config, I'm afraid I'm unable to help you.
I think if you are building a musl executable, you don't have the right to use local libraries that are using glibc. That's why you need a pkg-config of a cross build environment. You can try to use buildroot https://buildroot.org/ and add your own package(s).
@HiraokaTakuya can you not edit the Docker file and add pkg-config
or did you not want a full OS docker image?
(or is that docker file explicitly for building rust-musl-cross
- you could try pulling pkg-config
off an Alpine image)
I want to build the plotters example in x86_64-musl.
I did these commands.
And I got errors.
It seems to be a problem with the configuration around pkg-config.
Sorry if this is not appropriate as an issue.
Is this a problem with messense/rust-musl-cross:x86_64-musl ?
Or should I create a properly configured Docker container based on messense/rust-musl-cross:x86_64-musl ?