0

I compile a file which uses ncurses and I get an error. Cannot find -ltinfo. I installed what was recommended in this topic: Link error: "Cannot find -ltinfo" on Ubuntu 12.04 on a 32-bit arm processor and I still get this error

czesiek
  • 3
  • 2
  • Where did you install it? You need to provide the path to the library if it is at some custom location. – user3389943 Jun 17 '21 at 15:59
  • @user3389943 how to do it? – czesiek Jun 17 '21 at 17:24
  • `sudo apt-get install libncurses-dev` ....... On-line search : libtinfo.so https://packages.debian.org/search?suite=default&section=all&arch=any&searchon=contents&keywords=libtinfo.so ...... Or use `sudo apt-file search libtinfo.so` – Knud Larsen Jun 17 '21 at 17:49
  • You can put the library path as part of the build command using the -L switch – user3389943 Jun 17 '21 at 18:21

0 Answers0