aws-samples / aws-iot-securetunneling-localproxy

AWS Iot Secure Tunneling local proxy reference C++ implementation
https://docs.aws.amazon.com/iot/latest/developerguide/what-is-secure-tunneling.html
Apache License 2.0
73 stars 70 forks source link

Failed to run Localproxy using the docker container #62

Closed kareali closed 3 years ago

kareali commented 3 years ago

Describe the bug

After building the localproxy using the docker image and trying to run it from the container, it fails to start.

To Reproduce

Steps to reproduce the behavior:

  1. ./docker-build.sh
  2. './docker-run.sh`
  3. ./localproxy

Expected behavior

I expect localproxy to fail due to missing arguments

[fatal]   Must specify one and only one of --region/-r or --proxy-endpoint/-e options

Actual behavior

It's failing because if can't find a shared library.

./localproxy: error while loading shared libraries: libboost_program_options.so.1.76.0: cannot open shared object file: No such file or directory

Logs

N/A

Environment (please complete the following information):