Replies: 1 comment
-
Its likely a issue in your workspace, please reference #3229. The build and install works in a clean environment. i.e. in a clean al2023 image FROM public.ecr.aws/amazonlinux/amazonlinux:2023
RUN yum groupinstall "Development Tools" -y
RUN yum install -y curl-devel \
openssl-devel \
cmake3
RUN git clone --recurse-submodules https://github.com/aws/aws-sdk-cpp &&\
cd aws-sdk-cpp/ &&\
mkdir sdk_build &&\
cd sdk_build/ &&\
cmake .. \
-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_PREFIX_PATH=/usr/local/ \
-DCMAKE_INSTALL_PREFIX=/usr/local/ \
-DBUILD_ONLY="sqs;core" &&\
make &&\
make install
I would start by looking for the difference in your environment vs the clean environment. specifically if there is a older installed version of s2n in
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Having the following error when trying to install AWS SDK on AWS Linux 2023:
/devops/aws-sdk/aws-sdk-cpp/crt/aws-crt-cpp/crt/aws-c-io/source/s2n/s2n_tls_channel_handler.c:26:14: fatal error: s2n/unstable/cleanup.h: No such file or directory
26 | # include <s2n/unstable/cleanup.h>
Steps used for install:
git clone --recurse-submodules https://github.com/aws/aws-sdk-cpp
cd aws-sdk-cpp/
mkdir sdk_build
cd sdk_build/
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=/usr/local/ -DCMAKE_INSTALL_PREFIX=/usr/local/ -DBUILD_ONLY="sqs;core"
make
make install
can anyone give me suggestions?
Beta Was this translation helpful? Give feedback.
All reactions