I downloaded FreeBasic 1.07.1 binaries from here:
http://downloads.sourceforge.net/fbc/FreeBASIC-1.07.1-ubuntu-18.04-x86_64.tar.xz?downloadFreeBasic seems to be compiled against ncurses5, so it depends on this two packages:
https://packages.debian.org/buster/libtinfo5https://packages.debian.org/buster/libncurses-devboth of them I downloaded and converted to extensions, and added as dependences to my previously created FreeBasic extension.
but still needed to load ncurses.tcz and et voilá, fbc binary ran and compiled my tests apps.
until I rebooted and it crashed again with this error: undefined reference to symbol 'ospeed'
seems that ncurses.tcz comes with libtinfo.so.6 wich is incompatible with libtinfo.so.5, a simple workaround was removing ncurses.tcz from the FreeBasic's dep file and instead placing it as onDemand, so after loading FreeBasic I can load ncurses and everything is working...
But I would like a better solution for this, ideas?
Regards.