Skip to content

Comments

Updates docs on libaries and quickstart#96

Merged
Karm merged 1 commit intograalvm:masterfrom
Karm:docs-dependencies-etc
Mar 8, 2021
Merged

Updates docs on libaries and quickstart#96
Karm merged 1 commit intograalvm:masterfrom
Karm:docs-dependencies-etc

Conversation

@Karm
Copy link
Collaborator

@Karm Karm commented Jan 25, 2021

@Karm Karm requested a review from zakkak January 25, 2021 23:03
@Karm Karm self-assigned this Jan 25, 2021
"On Ubuntu-like systems with:\n" +
"```bash\n" +
"apt install gcc zlib1g-dev build-essential\n" +
"apt install gcc zlib1g-dev build-essential libfreetype6-dev\n" +
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We might want to reconsider build-essential as it's probably installing more than what we need

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zakkak The reason why I added t was that it was the very thing that brings the correct static glibc and it works on 18.x and 20.x

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like build-essential installs:

  • dpkg-dev (I don't see why we would need that)
  • g++
  • gcc
  • libc6-dev
  • make (I don't think we use make anywhere)

We already install gcc and libc6-dev so it looks like the addition that could possibly fix the issues you observed is g++ (which judging by the addition of libstdc++-static in centos makes sense). Unfortunately we don't have some setup to test this so it will have to be done by hand. I might give it a go later this week.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested on both 18.04 and 20.04 and the following packages seem enough:

  • g++ (this brings gcc as well, which also installs libc6-dev as "recommends")
  • zlib1g-dev
  • libfreetype6-dev

@Karm Karm merged commit 88addfd into graalvm:master Mar 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ubuntu installation instructions incomplete

3 participants