Grin Miner - cannot open shared object file

Hi,

I have grin and grin wallet running on my server. I downloaded the latest linux build and confirmed the checksum.

When I try and start grin-miner, from the directory where the binary is installed, I get this error -

./grin-miner: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory

Can someone please help me troubleshoot this?

Hello!
Try these commands (they worked for us in ArchLinux)

ln -s /usr/lib/libncursesw.so /usr/lib/libncursesw.so.5

ln -s /usr/lib/libtinfo.so.6 /usr/lib/libtinfo.so.5

I ran apt install build-essential cmake git libgit2-dev clang libncurses5-dev libncursesw5-dev zlib1g-dev pkg-config libssl-dev llvm but I am still getting the error grin: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory

When I ran the previous installation it showed:

libncurses5-dev is already the newest version (6.1+20180210-4ubuntu1).
libncursesw5-dev is already the newest version (6.1+20180210-4ubuntu1).

What should I do to fix? Thanks!

Try
run_tui = false