fbc: problems with shared libraries (libtinfo5) Ubuntu 19.10

Linux specific questions.
Post Reply
nicolsmio
Posts: 2
Joined: Jun 01, 2020 18:16

fbc: problems with shared libraries (libtinfo5) Ubuntu 19.10

Post by nicolsmio »

Hello everyone, so I've been trying to learn the language but fbc compiler is failing leaving this message on console:
fbc: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
I've seen a lot of forums that say to install the libtinfo5, but for me it's not working. Any help to my version of Ubuntu you can give me? thank you!
Landeel
Posts: 777
Joined: Jan 25, 2007 10:32
Location: Brazil
Contact:

Re: fbc: problems with shared libraries (libtinfo5) Ubuntu 19.10

Post by Landeel »

It's supposed to work.
Please open a terminal and do:

Code: Select all

sudo apt-get install libtinfo5
Paste the output of this command here.

[EDIT]
Forgot to mention, if you're using 32-bit fbc in a 64-bit system, you must do:

Code: Select all

sudo apt-get install libtinfo5:i386
But I recommend installing 64-bit fbc instead.
nicolsmio
Posts: 2
Joined: Jun 01, 2020 18:16

Re: fbc: problems with shared libraries (libtinfo5) Ubuntu 19.10

Post by nicolsmio »

Thanks a lot, I realized I was running the 32 bit fbc it works now!
Post Reply