I packaged an executable depending on libEGL with sparkle, and although the resulting jar can be run locally, it fails on an amazon EMR cluster, with the error libEGL.so.1: : cannot open shared object file: No such file or directory.
Installing the package providing this library (mesa-libEGL) in the server fixed this error, but there are some other dependencies (libgbm) which I couldn't install, which makes running this program impossible.
All the required libraries are included in the haskell-app.zip archive, but for some reason beyond my knowledge of how the linker works, only some of them are actually loaded at runtime.
I'll provide a minimal repro and some logs asap
I packaged an executable depending on
libEGLwith sparkle, and although the resulting jar can be run locally, it fails on an amazon EMR cluster, with the errorlibEGL.so.1: : cannot open shared object file: No such file or directory.Installing the package providing this library (
mesa-libEGL) in the server fixed this error, but there are some other dependencies (libgbm) which I couldn't install, which makes running this program impossible.All the required libraries are included in the
haskell-app.ziparchive, but for some reason beyond my knowledge of how the linker works, only some of them are actually loaded at runtime.I'll provide a minimal repro and some logs asap