Did the steps to create a certificate. Still same error message.
But “sudo gdb …” did it.
It is possible now to run the program. But I still miss the debug symbols:

“No symbol table is loaded. Use the “file” command.”

and
"Reading symbols from serialosc-detector…(no debugging symbols found)…done.
(gdb) "