-
Notifications
You must be signed in to change notification settings - Fork 5
Getting error "perl: error while loading shared libraries: libcrypt.so.1:" #6
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
Comments
I recently have the same issue maybe due lambda environment changes (because works before with Node.js 8.x and now on Node.js 10.x). Can you please have a look for Node.js 10.x? Edit: I revert back my lambda to Node.js 8.x I don't have any issue so it's definitely come with the lambda environment Node.js 10.x |
On my mac: Is that far ahead in time? |
Why you ask this? I mean AWS lambda environment is not related to your computer node version. Amazon Linux AMI (https://aws.amazon.com/amazon-linux-ami/) this is the os used by lambda environment. I think public layer that was built by the owner only support Node.js 8.10 and not Node.js 10.x, I'm not a expert of the Amazon Linux AMI but the only things that I can say is it work for Node.js 8.10 and not Node.js 10.x. |
It was a question from ignorance. I have a personal (Catalyst for now) app which will probably be better as a few Lambda functions. I'll get round to playing with it as soon as I've finished re-skinning it. |
Probably a super dirty hack but copying the library from my local machine into the
|
Sorry for my late reply. I'll take a look at this. |
I got bit by this today as well. Even trying to simply call
|
Previously I resorted to using the nodejs8 runtime which had multiple libraries. Now that it's getting deprecated and I can't even update my existing lambda, I have to update to nodejs10/12. Not only is |
I’m sorry to have kept you waiting! I've just published the new layers that include related commits: The new layers are the following:
I've confirmed that it works well on those layers, could you please try it? @nicu-chiciuc (and this might not be a bug of this layer, so I remove the label) |
Note: |
@moznion, Thanks for your updates. This is definitely not a bug of the current layer. There are multiple issues scatered around github about libraries removed from |
I close this issue. Please feel free to reopen if you're still facing the same or similar problem 👍 |
For the past couple of hours I've been trying to setup
exiftool
on an Lambda instance and have a Node handle invoke it, process the output and send it back. I've managed to set this up easily forffprobe
since I could just upload it as a static binary (although now I realise that I can use a layer for that).Since
exiftool
is a script I was trying to installperl
somehow and finally, after a lot of digging I found this nice solution.I'm using the Serverless framework and my
.yml
is minimal:The handler function is also minimal, it executes an command that is sent to it:
And I'm sending the follwing json:
It deploys without problems but when I try to invoke it, I get the following error:
I'm still new to the whole serverless architecture stuff so there may be a simple solution but I can't seem to find it. Any help would be appreciated.
The text was updated successfully, but these errors were encountered: