oxidecomputer / oxidecomputer/cockroach

cockroach: /usr/lib64/libtinfo.so.6: no version information available (required by cockroach)

Open
#38 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
34
Forks
8
PR merge metrics
No merged PRs in 30d

Description

We build cockroach on Ubuntu, which follows Debian's lead in building ncurses with --with-versioned-syms; a number of distros (apparently including Gentoo) don't set this. This results in ld.so printing to stderr:

cockroach: /usr/lib64/libtinfo.so.6: no version information available (required by cockroach)

which is safe to ignore, but means that some assumptions we've made in Omicron's cockroach-admin don't hold on certain Linux distros, causing a couple of that crate's tests to fail when run on certain distros.

We might want to consider doing the Linux build in an old-as-hell container image similar to how CRL does their Linux builds.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Linux build configuration and the referenced Omicron cockroach-admin assumptions at src/cockroach_cli.rs lines 19–22. Reproduce the linker warning and the affected crate test failures on a distro without versioned ncurses symbols, then compare the existing CRL Linux build approach. Done means the relevant tests pass on those distros without relying on the warning being absent.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, linux
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.