Open aplanas opened 4 years ago
Workaround: install libncurses5 and add #[link(name = "ncursesw")]
to the extern block in src/ll.rs (done in my fork).
Building then requires these env variables:
NCURSES_RS_RUSTC_LINK_LIB=ncursesw::libncursesw.so.5
NCURSES_RS_RUSTC_FLAGS="-L /lib64"
I'm not sure the workaround is correct. For me, it failed to link because of conflicts in libtinfo
, but I could get a working executable after installing ncurses5-devel
and with the following env variable:
export NCURSES_RS_RUSTC_FLAGS="-L /usr/lib64/ncurses5"
I'm not sure the workaround is correct. For me, it failed to link because of conflicts in
libtinfo
, but I could get a working executable after installingncurses5-devel
and with the following env variable:export NCURSES_RS_RUSTC_FLAGS="-L /usr/lib64/ncurses5"
Thank you!!! This was killing me. I can confirm this worked and fixed the problem I was having building ncspot on OpenSuse Leap 15.2. Because the snap version gives no sound on OpenSuse Leap, this fix was required to get ncspot working.
When compiling ncspot from git, I have this linker error at the end:
I have openSUSE Tumbleweed: