Skip to content

fix(core): jemalloc compatibility for ubuntu 16.04#3567

Merged
faustbrian merged 1 commit intoArkEcosystem:2.6from
alessiodf:jemalloc
Mar 4, 2020
Merged

fix(core): jemalloc compatibility for ubuntu 16.04#3567
faustbrian merged 1 commit intoArkEcosystem:2.6from
alessiodf:jemalloc

Conversation

@alessiodf
Copy link
Copy Markdown
Contributor

Summary

@geopsllc reported that Core couldn't find libjemalloc on Ubuntu 16.04.

I reproduced this and it seems whereis in Ubuntu 16.04 doesn't traverse /usr/lib/{architecture}/ to find binaries, whereas 18.04's version does. Since the package manager installs libjemalloc to that directory, Core doesn't find it on 16.04 even when it is properly installed.

Replaced whereis with output from gcc --print-search-dirs which now also works on 16.04 as well as the others (since gcc is always installed as part of the Core installation).

Checklist

  • Documentation (if necessary)
  • Tests (if necessary)
  • Ready to be merged

@ghost
Copy link
Copy Markdown

ghost commented Mar 3, 2020

Thanks for submitting this pull request! A maintainer will review this in the next few days and explicitly select labels so you know what's going on.

If no reviewer appears after a week, a reminder will be sent out.

@ghost ghost added Complexity: Low labels Mar 3, 2020
@ghost
Copy link
Copy Markdown

ghost commented Mar 4, 2020

A collaborator has approved this PR. A maintainer will merge this PR shortly. If it shouldn't be merged yet, please leave a comment saying so and we'll wait.

Thank you for your contribution!

@faustbrian faustbrian merged commit 64084a0 into ArkEcosystem:2.6 Mar 4, 2020
@ghost
Copy link
Copy Markdown

ghost commented Mar 4, 2020

Your pull request has been merged. Thank you for your contribution to the ARK Ecosystem.

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.

2 participants