# AWS SDK Build Errors

**URL:** https://forum.tiledb.com/t/aws-sdk-build-errors/62
**Category:** Uncategorized
**Created:** [April 30, 2019, 9:10pm UTC](https://forum.tiledb.com/t/aws-sdk-build-errors/62 "2019-04-30T21:10:06Z")
**Posts on this page:** 1
**Showing post:** 9

<div class="post-metadata">

### Author: ![AndyGreenwell](https://avatars.discourse-cdn.com/v4/letter/a/ba8739/32.png) [@AndyGreenwell](https://forum.tiledb.com/u/AndyGreenwell)
#### Post date: [May 1, 2019, 6:40pm UTC](https://forum.tiledb.com/t/aws-sdk-build-errors/62/9 "2019-05-01T18:40:24Z")

</div>

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.

```auto
-- 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](https://cdck-file-uploads-canada1.s3.dualstack.ca-central-1.amazonaws.com/flex035/uploads/tiledb/original/1X/36cd40f1a70f36952530cc001108c46ca1c29f57.png)

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.

---

_[View the full topic](https://forum.tiledb.com/t/aws-sdk-build-errors/62)._
