Skip to content
This repository was archived by the owner on Sep 7, 2020. It is now read-only.

Unavailable shared library #21

Open
cco3 opened this issue Sep 2, 2020 · 3 comments
Open

Unavailable shared library #21

cco3 opened this issue Sep 2, 2020 · 3 comments

Comments

@cco3
Copy link

cco3 commented Sep 2, 2020

I'm getting the following error:
git: error while loading shared libraries: libpcre.so.0: cannot open shared object file: No such file or directory

@pimterry
Copy link
Owner

pimterry commented Sep 2, 2020

Yes, in short, I think this library should probably be deprecated now, for most cases, and you should use layers instead, e.g. https://github.com/lambci/git-lambda-layer. Lots of shared libraries are not longer included in AWS's modern base images, so there's quite a lot of separate setup required otherwise.

There's more detail about this over here that might be useful: #14

I'm going to leave this open until I get around to going through and formally documenting that.

@cco3
Copy link
Author

cco3 commented Sep 2, 2020

Any suggestions for if layers are unavailable (e.g., I'm using lambda through netlify)?

@pimterry
Copy link
Owner

pimterry commented Sep 2, 2020

No idea, sorry, that's probably a question best asked to the netlify team.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants