You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! I've been trying for several days to get my code to run on AWS Lambda (Python) that uses moderngl and glcontext and keep hitting this error:
"errorMessage": "libGL.so not found in /lib, /usr/lib or LD_LIBRARY_PATH"
I've tried LOTS of different things but figure that yumda is probably the way to go, and that I'm not using it right.
I followed the simple example from the readme but I'm still getting the same error on Lambda. Is there a step I'm missing on the Lambda side? I've also tried adding ENV VARs to change the LD_LIBRARY_PATH with no luck. Any help is greatly appreciated!
Commands I'm running:
mkdir -p gl-layer
docker run --rm -v "$PWD"/gl-layer:/lambda/opt lambci/yumda:2 yum install -y mesa-libGL
cd gl-layer
zip -yr ../gl-layer.zip .
cd ..
aws lambda publish-layer-version --layer-name gl-layer --zip-file fileb://gl-layer.zip --compatible-runtimes Python38
The text was updated successfully, but these errors were encountered:
Hello! I've been trying for several days to get my code to run on AWS Lambda (Python) that uses moderngl and glcontext and keep hitting this error:
I've tried LOTS of different things but figure that
yumda
is probably the way to go, and that I'm not using it right.I followed the simple example from the readme but I'm still getting the same error on Lambda. Is there a step I'm missing on the Lambda side? I've also tried adding ENV VARs to change the
LD_LIBRARY_PATH
with no luck. Any help is greatly appreciated!Commands I'm running:
The text was updated successfully, but these errors were encountered: