Cannot find when launching elixir app


I am using elixir 1.9 with erlang 22.0 and I am using the command mix release. However when I try to run my app with _build/dev/rel/andy/bin/my_app start start I get an error:


This is the error I get when trying to run it:

/home/devops/_build/dev/rel/my_app/erts-10.4.3/bin/beam.smp: error while loading shared libraries: cannot open shared object file: No such file or directory

To fix it I tried running sudo apt-get install but it doesn’t look like it exists:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package
E: Couldn't find any package by glob ''
E: Couldn't find any package by regex ''

This is my OS operation:

No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.6 LTS
Release:	16.04
Codename:	xenial

How can I fix this?

You probably build your release on a different setup, one which had available.

Please build the release on an Ubuntu 16.04.6 and nothing else.


$ curl "" | zgrep libtinfo
libtinfo-dev (6.0+20160213-1ubuntu1) developer's library for the low-level terminfo library
libtinfo5 (6.0+20160213-1ubuntu1) shared low-level terminfo library for terminal handling
libtinfo5-dbg (6.0+20160213-1ubuntu1) debugging/profiling library for the low-level terminfo library

For 16.04 only libtinfo5 is available as it seems.

It contains the following files (

  • /lib/x86_64-linux-gnu/
  • /lib/x86_64-linux-gnu/
  • /usr/lib/x86_64-linux-gnu/
  • /usr/lib/x86_64-linux-gnu/
  • /usr/share/doc/libtinfo5/TODO.Debian
  • /usr/share/doc/libtinfo5/changelog.Debian.gz
  • /usr/share/doc/libtinfo5/copyright