breakfastquay / rubberband

Official mirror of Rubber Band Library, an audio time-stretching and pitch-shifting library.
http://breakfastquay.com/rubberband/
GNU General Public License v2.0
550 stars 87 forks source link

Build for AWS Lambda #94

Open fadone opened 7 months ago

fadone commented 7 months ago

I tried the macos version of rubberband command-line utility using layers but getting "cannot execute binary file",

I need help on how do i build for AWS Lambda?

Update: I build rubberband on linux and ran on Lambda and got the following error: rubberband: error while loading shared libraries: libsndfile.so.1: cannot open shared object file: No such file or directory"

fadone commented 2 months ago

UPDATE: I statically linked the libsndfile library but now I am getting this error:

"rubberband: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by rubberband)",
"rubberband: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by rubberband)",
"rubberband: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by rubberband)",
"rubberband: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by rubberband)",
"rubberband: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by rubberband)",
"rubberband: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by rubberband)",