records.o: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/lib/x86_64-linux-gnu/gap/bin/records.o - from package: gap-dev

You may install the required package with command apt-get install {package}
Error in other languages:
records.o: bevel nie gevind nie
records.o: comandă negăsită
records.o: comando não encontrado
records.o: commande introuvable
records.o: command not found
records.o: käsku ei ole
records.o: không tìm thấy lệnh
records.o: komanda nerasta
records.o: Kommando nicht gefunden.
records.o: kommandot finns inte
records.o: komut yok
records.o: nie znaleziono polecenia
records.o: níor aimsíodh an t-ordú
records.o: no se encontró la orden
records.o: no s'ha trobat l'ordre
records.o: opdracht niet gevonden
records.o: parancs nem található
records.o: perintah tidak ditemukan
records.o: príkaz nenájdený
records.o: příkaz nenalezen
records.o: команда не найдена
records.o: командата не е открита
records.o: 命令找不到
records.o: コマンドが見つかりません