On a fresh installation all compilations (hello.bas and the manual samples) generate the following lines:
/usr/local/bin/fbc /home/software/programming/FreeBASIC-1.09.0-linux-x86_64/examples/manual/proguide/recursion/recursivecombination.bas -x /home/software/programming/FreeBASIC-1.09.0-linux-x86_64/examples/manual/proguide/recursion/recursivecombination
/usr/local/bin/fbc: /lib64/libtinfo.so.5: no version information available (required by /usr/local/bin/fbc)
/usr/local/bin/fbc: Symbol `ospeed' has different size in shared object, consider re-linking
Checking libtinfo shows:
# ls -l /lib64/libtinfo*
lrwxrwxrwx 1 root root 13 Oct 8 2021 /lib64/libtinfo.so -> libtinfo.so.6
lrwxrwxrwx 1 root root 15 Oct 8 2021 /lib64/libtinfo.so.5 -> libtinfo.so.5.9
-rwxr-xr-x 1 root root 178848 Oct 8 2021 /lib64/libtinfo.so.5.9
lrwxrwxrwx 1 root root 15 Oct 8 2021 /lib64/libtinfo.so.6 -> libtinfo.so.6.1
-rwxr-xr-x 1 root root 187464 Oct 8 2021 /lib64/libtinfo.so.6.1
This is a known issue with freebasic on linux. I have the same issue and have not found a work around yet.