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?
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
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
Thanks, Richard, for your reply. Those seem to work fine.
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
hm, ok
so one potential way to get rid of the error would be to try to install (or maybe update) a ncurses
package
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
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!
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.
I think I'll try to compile from source as a workaround.
Those checked in crates makes for a hefty repo... going strongly at 100MB already.
Last updated: Jul 06 2025 at 12:14 UTC