Freebasic package missing packages required to compile

I just noticed that the freebasic package is missing the packages required for it to be able to compile a “hello world” program. It may need others depending on the code it is compiling, but I know it will need gcc, glibc-devel, libncurses-devel, and clang to be able to compile a simple ‘print hello world’ program. In a bare install with only “dnf update” and “dnf install freebasic” run, this is what it looks like without and with these…

[testuser@openmandriva-x8664 Downloads]$ echo print \"hello world\" >> test.bas
[testuser@openmandriva-x8664 Downloads]$ ls
test.bas
[testuser@openmandriva-x8664 Downloads]$ cat test.bas 
print "hello world"
[testuser@openmandriva-x8664 Downloads]$ fbc test.bas
test.bas() error 91: Executable not found: "gcc"
[testuser@openmandriva-x8664 Downloads]$ sudo dnf install gcc -q -y

Installed:
  binutils-2.43.1-2.x86_64      gcc-14.2.0-1.x86_64               gcc-cpp-14.2.0-1.x86_64      
  lib64cc1_0-14.2.0-1.x86_64    lib64gcc-devel-14.2.0-1.x86_64    lib64isl23-0.27-1.x86_64     
  lib64mpc3-1.3.1-2.x86_64      lld-19.1.6-1.x86_64               perl-bignum-0.66-30.noarch   

[testuser@openmandriva-x8664 Downloads]$ fbc test.bas
test.bas() error 23: File not found, crt1.o
test.bas() error 23: File not found, crti.o
test.bas() error 23: File not found, crtn.o
ld: error: unable to find library -lncurses
ld: error: unable to find library -lm
ld: error: unable to find library -ldl
ld: error: unable to find library -lpthread
ld: error: unable to find library -lc
[testuser@openmandriva-x8664 Downloads]$ sudo dnf install glibc-devel -q -y

Installed:
  glibc-devel-6:2.40-1.x86_64 kernel-headers-1:6.12.6-1.x86_64 lib64crypt-devel-4.4.36-1.x86_64
  lib64pkgconf-2.1.1-1.x86_64 libc6-6:2.40-1.x86_64            pkgconf-2.1.1-1.x86_64          

[testuser@openmandriva-x8664 Downloads]$ fbc test.bas
ld: error: unable to find library -lncurses
ld: error: unable to find library -lm
ld: error: unable to find library -ldl
ld: error: unable to find library -lpthread
ld: error: unable to find library -lc
[testuser@openmandriva-x8664 Downloads]$ sudo dnf install libncurses-devel -q -y

Installed:
  lib64ncurses-devel-6.5-1.x86_64    libncurses-6.5-1.x86_64    libncurses-devel-6.5-1.x86_64   

[testuser@openmandriva-x8664 Downloads]$ fbc test.bas
ld: error: unable to find library -ltinfo
ld: error: unable to find library -lm
ld: error: unable to find library -ldl
ld: error: unable to find library -lpthread
ld: error: unable to find library -lc
[testuser@openmandriva-x8664 Downloads]$ sudo dnf install clang -q -y

Installed:
  clang-19.1.6-1.x86_64         lib64stdc++-devel-14.2.0-1.x86_64    libgcc1-14.2.0-1.x86_64   
  libstdc++6-14.2.0-1.x86_64    llvm-19.1.6-1.x86_64                

[testuser@openmandriva-x8664 Downloads]$ fbc test.bas
[testuser@openmandriva-x8664 Downloads]$ ./test
hello world
[testuser@openmandriva-x8664 Downloads]$ 

Welcome @dreadful to OpenMandriva and our forum. This forum is for users of OpenMandriva Linux operating systems.

OpenMandriva Forums are primarily users helping other users.

You are welcome to talk to our developers at OpenMandriva Chat.

Users with a problem need to read How to get better results when posting about problems before reporting any issue or problem. The article is not too long and Do Read.

When a new user has an issue please look in the documentation for OMLx. OpenMandriva wiki, Forum Resources guide and the “Search” function of the forum.

If you don’t find what you are looking for, try an Internet search. One can find out a lot from documentation or forum posts at other Linux distros. If user finds something written for another distro but you have some doubt ask at OpenMandriva Chat.

For serious technical issues and package/feature requests please file a bug report here.

Note: We are a small group. All the contributors and developers here are unpaid volunteers.
You can make OpenMandriva grow and improve by getting involved

Any help with testing would be appreciated whether one is technically proficient or a very non-technical user. The more people and more hardware we can get involved the better we can make OMLx releases and packaging. We do a lot of testing in VM’s as well. Developers tend to use Qemu, most user level testers use VirtualBox.