Handling the message: Warning: “crtbeginS.o” not found, this will probably cause a linking failure

Eventually, when compiling a project on Linux, the warning message may appear:

Warning: "crtbeginS.o" not found, this will probably cause a linking failure Warning: "crtendS.o" not found, this will probably cause a linking failure

They happen because the system did not find crti.o, the solution is to find it in your system:

locate crti.o
/usr/lib64/crti.o

Once you have found it, then in the Lazarus IDE go to Project->Compiler Options-> and in Library (-Fl) include the folder where you found that file:

/usr/lib64/

But if you don't correct or don't find these files, remember that these are just a type of Warnings that won't interfere with the execution of your projects.