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

Dependencies not being installed, mtr #32

Closed
tjfoster opened this issue Mar 30, 2018 · 2 comments
Closed

Dependencies not being installed, mtr #32

tjfoster opened this issue Mar 30, 2018 · 2 comments

Comments

@tjfoster
Copy link

I'm attempting to install mtr. When I ps:exec and issue an mtr command, I get missing library errors. As I add the missing libraries to Aptfile, I get new missing library errors. The dependencies are deep so I could chase this all day if I have to do it manually. Is there a flag or something I can add to install the dependencies for me?

@lazyatom
Copy link

lazyatom commented Aug 23, 2018

I wonder if this is related to #35 (comment)

@KevinBrolly
Copy link
Contributor

This is happening because the mtr library has multiple dependencies such as:

libgtk2.0-0
libxfixes3
libatk1.0-0
libxinerama1
libxi6

These dependencies are all available on the Heroku build image, but not the runtime image (as seen in the tables here - https://devcenter.heroku.com/articles/stack-packages). So when the application is building apt can see these packages available and therefore does not install them again, but at runtime the packages are then missing and this is why you then getting the missing library errors.

Unfortunately the only way to solve this would be to identify and install these dependencies in your Aptfile yourself.

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

3 participants