Skip to content

error while loading shared libraries: libgcc_s.so.1 #7

Closed
@surdus

Description

@surdus

When I try to run compiled executable in docker container I receive such error:

docker run -it bf05fe86682d test-exe
test-exe: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory

I use stack as build system. For test created empty stack project using command stack new test
My image configuration in stack.yaml:

image:
  container:
    base: "fpco/haskell-scratch:integer-gmp"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions