If you’re trying to connect to either Redshift or Postgres and running Pandas somewhere in your code, you might come across the following error:
Error loading shared library libstdc++.so.6: No such file or directory (needed by /usr/lib/python3.6/site-packages/pandas/_libs/window.cpython -36m-x86_64-linux-gnu.so)
This is a pandas-related compatibility issue akin to this. The solve is similar - add the following to your packages.txt:
libgcrypt= libxslt-dev g++ libstdc++
That should do the trick.