roc: REPL broken on Fedora Linux

This is about a week old, as it happens with either the Sept 5th nightly build & the September 10th nightly build.

[jan@framey ~]$ ls .local/bin
crates         lib      roc_nightly-linux_x86_64-2022-09-10-90923c5.tar.gz
examples       LICENSE  zig-linux-x86_64-0.9.1
LEGAL_DETAILS  roc      zig-linux-x86_64-0.9.1.tar.xz
[jan@framey ~]$ which roc
~/.local/bin/roc
[jan@framey ~]$ roc _code/_roc/roc/examples/hello-world/main.roc
roc: /lib64/libtinfo.so.6: no version information available (required by roc)
🔨 Rebuilding host...
Hello, World!
[jan@framey ~]$ roc repl
roc: /lib64/libtinfo.so.6: no version information available (required by roc)

  The rockin’ roc repl
────────────────────────

Enter an expression, or :help, or :q to quit.

» 123
ld: /usr/lib/libgcc_s.so.1: error adding symbols: file in wrong format
thread 'main' panicked at 'we produce a valid Dylib: DlOpen { desc: "/tmp/.tmpH4oBgE/app.so.1.0: cannot open shared object file: No such file or directory" }', crates/repl_cli/src/lib.rs:353:65
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[jan@framey ~]$ 

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 20 (2 by maintainers)

Most upvoted comments

Hi @giganteous 😃

Can I help?

Thanks for the offer! We are hard at work on the new compiler (written in zig), and I expect that this problem will go away with the new compiler. So it’s probably not worth the effort to chase this down in the current (old) repl.

The “Mär” in Swedish(?) is a bit weird

Yeah, I don’t know what’s up with the locale on my CI server, I don’t live in Sweden :p I’ll check it out. I don’t think we should adjust this to the user’s locale, because it’s nice that the same Roc versions have identical version strings.

I have the same version, I’ll try to think of next steps.