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]$