Replies: 3 comments 1 reply
-
can you provide more detailed instructions on how to replicate this? When i run this in a clean docker image it works, so that leads me to believe it could be something in your environment set up, can you replicate this issue using a clean docker enviornment? are you doing something different that what im doing in this dockerfile? FROM public.ecr.aws/ubuntu/ubuntu:25.04
# Install dependencies
RUN apt update
RUN apt install build-essential -y
RUN apt install git cmake libcurl4-openssl-dev libssl-dev -y
# Build and install SDK
RUN git clone --recurse-submodules https://github.com/aws/aws-sdk-cpp && \
cd aws-sdk-cpp && \
mkdir build && \
cd build && \
cmake -DBUILD_ONLY="s3" .. &&\
cmake --build . --config=Debug && \
cmake --install . --config=Debug |
Beta Was this translation helpful? Give feedback.
-
Hi,
It seems that your installation destination directory has already contained some built version of the SDK.
preferably on a new/clean cmake build dir. Best regards |
Beta Was this translation helpful? Give feedback.
-
Thanks! Unfortunately neither of these two comments solved the problem though. I typed it into chatGPT and it suggested typing: git submodule update --init --recursive and then doing a full install of all of the AWS SDK, not just the C3. This solved the problem. I greatly appreciate your help! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to install aws sdk s3 on linux ubuntu and I'm following the instructions on this webpage: "https://github.com/aws/aws-sdk-cpp".
Everything went fine until this line "cmake --install . --config=Debug"
It got partway through the installation and then gave me this error and crashed:
...
-- Up-to-date: /home/jso/aws-sdk-cpp/build/include/s2n.h
-- Up-to-date: /home/jso/aws-sdk-cpp/build/include/s2n/unstable/cleanup.h
-- Up-to-date: /home/jso/aws-sdk-cpp/build/include/s2n/unstable/crl.h
-- Up-to-date: /home/jso/aws-sdk-cpp/build/include/s2n/unstable/fingerprint.h
-- Up-to-date: /home/jso/aws-sdk-cpp/build/include/s2n/unstable/ktls.h
-- Up-to-date: /home/jso/aws-sdk-cpp/build/include/s2n/unstable/npn.h
-- Up-to-date: /home/jso/aws-sdk-cpp/build/include/s2n/unstable/renegotiate.h
CMake Error at crt/aws-crt-cpp/crt/s2n/cmake_install.cmake:72 (file):
file INSTALL cannot find "/home/jso/aws-sdk-cpp/build/lib/libs2n.so.1.0.0":
No such file or directory.
Call Stack (most recent call first):
crt/aws-crt-cpp/cmake_install.cmake:52 (include)
cmake_install.cmake:59 (include)
I looked and found only two files in that lib directory (libs2n.so and libs2n.so.1). Any thoughts?
Beta Was this translation helpful? Give feedback.
All reactions