Open
Description
Hi, I've been trying to use your docker image to build my project, and I get an error:
debug/deps/libsolana_program-5157481aeabacb81.so" "-Wl,--gc-sections" "-shared" "-Wl,-zrelro,-znow" "-nodefaultlibs"
= note: ld: error: unable to find library -lgcc
clang-14: error: linker command failed with exit code 1 (use -v to see invocation)
error: could not compile `solana-program` due to previous error
[2022-07-16T18:15:49Z INFO cargo_ndk::cli] If the build failed due to a missing target, you can run this command:
[2022-07-16T18:15:49Z INFO cargo_ndk::cli]
[2022-07-16T18:15:49Z INFO cargo_ndk::cli] rustup target install x86_64-linux-android
I tried to install lgcc manually. Dockerfile:
FROM instrumentisto/cargo-ndk:2.8.0
RUN apt-get update && apt-get install -y gcc-multilib
And it didn't work.
I will create an example for you soon on Github with a build that fails
Metadata
Assignees
Labels
No labels
Activity