Unable to import module 'handler': plugin.Open: libc.musl-x86_64.so.1
mrserverless opened this issue · 1 comments
mrserverless commented
Getting following error from a deployed API Gateway function generated using serverless install:
Unable to import module 'handler': plugin.Open: libc.musl-x86_64.so.1: cannot open shared object file: No such file or directory
Thanks to @flemay for pointing this out.
mrserverless commented
This was caused by using alpine based golang container to build the .so file, rather than the Amazon Linux based go-shim container. By reverting this, everything works again.