Open JeremyGrosser opened 2 years ago
We could add an external dependency on libncurses5 in the gnat_*
crates.
That would work, although I think it might be better if we could get ncurses statically linked so that we're less dependent on the host environment.
I looked into this a little bit and learned a few things:
-static
to LDFLAGS causes gdb's configure script to not detect ncurses at allSo, I think your suggestion of just adding a dependency on libncurses5 is the best option. Hopefully the distros maintain this compatibility package until gdb gets bumped up to libncurses6.
...but Debian stable (bullseye) installs
libncurses6
by default. Alibncurses5
package is available, but Alire does not install it automatically.sudo apt install libncurses5
fixes this error.