Stream: beginners

Topic: libtinfo: no version information


view this post on Zulip Stéfan van der Walt (Nov 20 2023 at 23:06):

Hi all,

When running the nightly on Fedora 38, I see:

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

The compiler continues, but the required phrase makes me think it's something I should pay attention to. How do I address this problem?

view this post on Zulip Richard Feldman (Nov 21 2023 at 00:04):

hmm my guess is that one of our compiler's dependencies (probably rustyline because according to chatGPT, libtinfo is part of ncurses, and I'm pretty sure rustyline is the only dependency we have which would use ncurses) depends on that libtinfo.so.6 dynamic library

view this post on Zulip Richard Feldman (Nov 21 2023 at 00:05):

I don't have a Fedora instance handy, but one way to confirm this hypothesis would be to try out roc repl and in particular using the arrow keys to bring up previous entries after entering a couple of expressions

view this post on Zulip Stéfan van der Walt (Nov 21 2023 at 00:06):

Thanks, Richard, for your reply. Those seem to work fine.

view this post on Zulip Richard Feldman (Nov 21 2023 at 00:06):

if it gives a hard error instead of a warning like that, then that would pretty much confirm it's something to do with rustyline

view this post on Zulip Richard Feldman (Nov 21 2023 at 00:06):

hm, ok

view this post on Zulip Richard Feldman (Nov 21 2023 at 00:08):

so one potential way to get rid of the error would be to try to install (or maybe update) a ncurses package

view this post on Zulip Richard Feldman (Nov 21 2023 at 00:08):

ideally, we'd figure out what dependency is loading this dynamic library and see if we could turn it into a static dependency instead somehow

view this post on Zulip Richard Feldman (Nov 21 2023 at 00:09):

but I'm not sure what the best way to do that might be - cc @Brendan Hansknecht @Anton in case either of you have ideas!

view this post on Zulip Stéfan van der Walt (Nov 21 2023 at 00:09):

I've verified that libtinfo.so.6 exists; it seems to be unhappy about the version info, which I'm not sure where that lives.

view this post on Zulip Stéfan van der Walt (Nov 21 2023 at 00:12):

I think I'll try to compile from source as a workaround.

view this post on Zulip Stéfan van der Walt (Nov 21 2023 at 00:17):

Those checked in crates makes for a hefty repo... going strongly at 100MB already.


Last updated: Jul 06 2025 at 12:14 UTC