Getting error when building skd on Ubuntu 20.04 #3052
-
So I tried to build sdk using official doc But no matter what I do I still get the same error on 91% which looks like this
What else I tried:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
@github-actions proposed-answer Can you make sure you have all of the correct dependencies installed. This Dockerfile has all of the dependencies needed to build this sdk. You can also build the docker container and see what differences there are between it and your local environment. FROM ubuntu:20.04
#install deps
RUN apt-get update
RUN apt-get install -y git cmake zlib1g-dev libssl-dev libcurl4-openssl-dev build-essential
#clone and build sdk
RUN git clone --depth 1 --recurse-submodules https://github.com/aws/aws-sdk-cpp && \
cd aws-sdk-cpp && \
mkdir build && \
cd build && \
cmake -DAUTORUN_UNIT_TESTS=OFF -DBUILD_ONLY="s3" .. && \
cmake --build . && \
cmake --install . Please let me know if you have any other questions and/or problems with building this sdk |
Beta Was this translation helpful? Give feedback.
crypto mismatch generally indicates that you are compiling with one libcrypto and then at runtime it finds a different libcrypto. your host machine probably has another libcrypto somewhere on LDPRELOAD path. You can do something like LD_DEBUG=all your_bin to figure out which libcrypto its trying to load (or strace as alternative)