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

pharo-vm: Add third-party libraries to LD_LIBRARY_PATH #25681

Closed
wants to merge 1 commit into from

Conversation

Balletie
Copy link
Contributor

Motivation for this change

The default Pharo image has code which uses the freetype and cairo libraries. When that code was executed it threw an error saying that it couldn't find these libraries. This PR fixes it by putting the libraries in LD_LIBRARY_PATH using a wrapper.

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

This commit adds the third party libraries needed by the default Pharo
environment to the LD_LIBRARY_PATH, by using makeWrapper.
@mention-bot
Copy link

@Balletie, thanks for your PR! By analyzing the history of the files in this pull request, we identified @DamienCassou, @lukego and @globin to be potential reviewers.

@Balletie Balletie closed this Jun 3, 2017
@Balletie Balletie reopened this Jun 3, 2017
@lukego
Copy link
Contributor

lukego commented Jun 3, 2017

That looks good to me. I did something similar in the experimental #25058.

@Balletie
Copy link
Contributor Author

Balletie commented Jun 3, 2017

Thank you for your review :)

@lukego lukego mentioned this pull request Jun 28, 2017
17 tasks
@lukego
Copy link
Contributor

lukego commented Jun 28, 2017

@Balletie Glad to review. Note: I marked myself as the maintainer for the Pharo packages, because I am depending on them, but I don't have commit on nixpkgs so I don't know how to land this branch of yours. Perhaps we should roll these changes into #26924? (Could you be tempted to review those if you are also a Pharo+Nix user?)

@Balletie
Copy link
Contributor Author

Sure, we can do that. If you want you can cherry-pick from my branch

@joachifm
Copy link
Contributor

This has been merged. Thank you

@joachifm joachifm closed this Aug 26, 2017
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

Successfully merging this pull request may close these issues.

None yet

4 participants