Ubuntu 20.04, Fail to find libtinfo.so & libtinfo.a

Linux specific questions.
Post Reply
adellaci
Posts: 2
Joined: Apr 15, 2022 16:06

Ubuntu 20.04, Fail to find libtinfo.so & libtinfo.a

Post by adellaci »

I just started using FB today. I manage to resolve other other install issues, but i unable to fix this one;

fbc Hello.bas
ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libtinfo.so when searching for -ltinfo
ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libtinfo.a when searching for -ltinfo
ld: cannot find -ltinfo
caseih
Posts: 2157
Joined: Feb 26, 2007 5:32

Re: Ubuntu 20.04, Fail to find libtinfo.so & libtinfo.a

Post by caseih »

I think the problem is you're running a 32-bit version of FB on a 64-bit system. I think you might need to install the 32-bit version of libncurses5-dev. Something like this perhaps:

sudo apt-get install libncurses5-dev:i386

If you are running 64-bit FB, the normal libncurses5-dev package should be enough.
adellaci
Posts: 2
Joined: Apr 15, 2022 16:06

Re: Ubuntu 20.04, Fail to find libtinfo.so & libtinfo.a

Post by adellaci »

Thank you for your help. You are right, i am am running the 32 bit. Thanks again
Post Reply