-
-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot load PCRE #23
Comments
Are you using any other layers or modifying any environment variables? |
No sir :) git-lambda2 is the only layer used The only ENV variable I do set is "AWS_NODEJS_CONNECTION_REUSE_ENABLED=1" |
How are you executing Can you add this to your lambda somewhere? const { execSync } = require('child_process')
console.log(execSync('ls -l /opt/lib/libpcre2*', {encoding: 'utf8'}))
console.log(process.env.LD_LIBRARY_PATH) |
My friend. This is it! I was using Thank You so much! :) |
Ah, you should've said! Ok, glad you solved the issue |
TBH I didn't even though that |
Unfortunatelly I got this error when trying to use git in real AWS Lambda
/opt/bin/git: error while loading shared libraries: libpcre2-8.so.0: cannot open shared object file: No such file or directory
Runtime:
nodejs12.x
Used layer:
arn:aws:lambda:eu-central-1:553035198032:layer:git-lambda2:6
The text was updated successfully, but these errors were encountered: