cdklabs / aws-delivlib

setup and manage continuous delivery pipelines for code libraries in multiple languages
Apache License 2.0
375 stars 35 forks source link

fix: gpg binary not working in Lambda #1705

Closed rix0rrr closed 3 months ago

rix0rrr commented 3 months ago

The reason this time was that the gpg binary is expecting shared objects with only the major version number:

libgcrypt.so.20: cannot open shared object file: No such file or directory

While the files in the zip file have a 3-part version number:

lib/libgcrypt.so.20.4.2

Solution: rename the files to have the short name.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.