aws / aws-lambda-nodejs-runtime-interface-client

Apache License 2.0
180 stars 56 forks source link

CentOS: undefined symbol: _ZN3aws14lambda_runtime7runtimeC1ERKSsS3_ #14

Closed jkutner closed 1 year ago

jkutner commented 3 years ago

I'm trying to install the module on CentOS, and the preinstall.sh script succeeds, but when I try to run the executable, it gives the error:

$ npx aws-lambda-ric index.handler
2021-02-13T16:08:11.247Z        undefined       INFO    Executing 'index.handler' in function directory '/workspace'
node: symbol lookup error: /workspace/node_modules/aws-lambda-ric/build/Release/runtime-client.node: undefined symbol: _ZN3aws14lambda_runtime7runtimeC1ERKSsS3_

I think this might be helped or fixed by #8

jkutner commented 3 years ago

I tested #8 and it did fix the problem

anthony-telljohann commented 2 years ago

I'm also getting this error when I try to use a custom CentOS 7 docker image with my lambda.

andclt commented 1 year ago

Hi, this issue has been fixed with the following PR which is included in the 2.1.0 release https://www.npmjs.com/package/aws-lambda-ric/v/2.1.0