(L)Ubuntu Focal Fossa (20.04) and libtinfo.so.5

Linux specific questions.
systemctl
Posts: 182
Joined: Mar 27, 2020 5:15

Re: (L)Ubuntu Focal Fossa (20.04) and libtinfo.so.5

Postby systemctl » Apr 12, 2020 7:53

Do we have something to do with this?

viewtopic.php?f=5&t=28337
Landeel
Posts: 763
Joined: Jan 25, 2007 10:32
Location: Brazil
Contact:

Re: (L)Ubuntu Focal Fossa (20.04) and libtinfo.so.5

Postby Landeel » Apr 12, 2020 16:36

systemctl wrote:Do we have something to do with this?

viewtopic.php?f=5&t=28337


Yes, same problem!
kinrpg
Posts: 1
Joined: Dec 02, 2007 2:25
Location: Estiva Gerbi - SP - Brazil
Contact:

Re: (L)Ubuntu Focal Fossa (20.04) and libtinfo.so.5

Postby kinrpg » Apr 28, 2020 23:44

Hello. This worked for me:

Code: Select all

sudo apt install libtinfo5
thebigh
Posts: 36
Joined: Dec 14, 2018 11:11

Re: (L)Ubuntu Focal Fossa (20.04) and libtinfo.so.5

Postby thebigh » Nov 24, 2020 16:28

I have tried all of these fixes and I still get "fbc: /lib/libtinfo.so.5: version `NCURSES_TINFO_5.0.19991023' not found (required by fbc)" no matter what I do.

Is there an ETA for a fix for this bug?
hhr
Posts: 12
Joined: Nov 29, 2019 10:41

Re: (L)Ubuntu Focal Fossa (20.04) and libtinfo.so.5

Postby hhr » Nov 24, 2020 17:39

Look at FreeBASIC/readme.txt...

Linux Mint, lubuntu, xubuntu:

readme.txt:
sudo apt install gcc libncurses5-dev libffi-dev libgl1-mesa-dev
sudo apt install libx11-dev libxext-dev libxrender-dev libxrandr-dev libxpm-dev
Furthermore:
sudo apt install libncurses5

readme.txt:
sudo apt install gcc-multilib lib32ncurses5-dev libx11-dev:i386 libxext-dev:i386
sudo apt install libxrender-dev:i386 libxrandr-dev:i386 libxpm-dev:i386
Furthermore:
sudo apt install libncurses5:i386
thebigh
Posts: 36
Joined: Dec 14, 2018 11:11

Re: (L)Ubuntu Focal Fossa (20.04) and libtinfo.so.5

Postby thebigh » Nov 24, 2020 17:58

Yes, I did all that. All these things are at their latest versions, but I am still getting the same error.
caseih
Posts: 1618
Joined: Feb 26, 2007 5:32

Re: (L)Ubuntu Focal Fossa (20.04) and libtinfo.so.5

Postby caseih » Nov 24, 2020 20:27

The README is missing a package from that list. You need the libtinfo5 package, or if you're using the 32-bit compiler, libtinfo5:i386
Landeel
Posts: 763
Joined: Jan 25, 2007 10:32
Location: Brazil
Contact:

Re: (L)Ubuntu Focal Fossa (20.04) and libtinfo.so.5

Postby Landeel » Nov 25, 2020 18:30

The distributed compiler itself needs 'libtinfo.so.5', so "sudo apt-get install libtinfo5".
If you want to prevent this from happening with your compiled programs, copy "libtinfo.a" to "/usr/local/lib/freebasic/linux-x86_64", and it will be statically linked.
If you're using the 32-bit version of the compiler, it's "sudo apt-get install libtinfo5:i386" and "/usr/local/lib/freebasic/linux-x86".

Return to “Linux”

Who is online

Users browsing this forum: No registered users and 2 guests