Skip to content

The generated jar isn't always self-contained #113

@thufschmitt

Description

@thufschmitt

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions