AWS SDK Build Errors

In attempting to use --force-build-all-deps with the full command used being:

../bootstrap --enable-s3 --enable-static-tiledb --prefix=/usr/local --force-build-all-deps

and then building with make, I am getting an error related to finding AWSSDK::pthread.

-- Found AWS lib: pthread (AWS_FOUND_pthread-NOTFOUND)
CMake Error at cmake/Modules/TileDBCommon.cmake:85 (message):
  Could not determine library location for AWSSDK::pthread
Call Stack (most recent call first):
  cmake/Modules/FindAWSSDK_EP.cmake:125 (install_target_libs)
  tiledb/CMakeLists.txt:272 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/ec2-user/TileDB/TileDB/build/tiledb/CMakeFiles/CMakeOutput.log".
make[2]: *** [tiledb-prefix/src/tiledb-stamp/tiledb-configure] Error 1
make[1]: *** [CMakeFiles/tiledb.dir/all] Error 2
make: *** [all] Error 2

BuildError

The libpthread.so library is located in /usr/lib64/libpthread.so on this Amazon Linux 2 VM.

I see there was a long issue discussion on the AWS SDK repo (issue 1020) about building cleanly with all dependencies, so I’ll try to follow that discussion to determine if there is something off about my environment in attempting to perform this build.

Thanks again for the assistance.

p.s. I tried posting a link to the aws-sdk-cpp GitHub repo in this reply, but the system prevented posting the reply with that link included.