Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker container - libelf.so.1 not found #26

Closed
touchtech-docker-machine opened this issue Mar 14, 2016 · 5 comments
Closed

Docker container - libelf.so.1 not found #26

touchtech-docker-machine opened this issue Mar 14, 2016 · 5 comments

Comments

@touchtech-docker-machine

When I try to run "flow check" in a Docker container (build server), I run into this error:

/opt/buildAgent/work/3c70a0ec877e6008/node_modules/flow-bin/vendor/flow: error while loading shared libraries: libelf.so.1: cannot open shared object file: No such file or directory

@touchtech-docker-machine
Copy link
Author

Sorry, just noticed this on facebook/flow:

sudo apt-get install ocaml libelf-dev

@jeffmo
Copy link
Contributor

jeffmo commented Mar 16, 2016

Looks like you got it figured out!

@montogeek
Copy link

Anyone know how to install that dep on Alpine Linux?

tomosm added a commit to thinkshake/thinkshake-api that referenced this issue May 8, 2017
@asottile
Copy link

asottile commented May 10, 2017

You probably don't need the headers to use libelf, this apt line should work fine:

apt install ocaml libelf1

you probably also don't need ocaml at runtime either, shrugs!

@Gisleburt
Copy link

FWIW I just confirmed that (at least on debian:jessie-slim) I only needed to add libelf1 to make it work.

apt-get install -y libelf1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants