Lazarus can't find crtbeginS.o and crtendS.o

The weird thing is that I found those, but in /run/media/user/<a long string of hex>/usr/lib64/gcc/x86_64-suse-linux/7

Is it safe to copy those to /usr/lib64/gcc/x86_64 or wherever they should be? (Not at the Leap 15.3 machine at the moment, forget the exact location).

[SUB]I just installed Lazarus on a laptop that’s running Leap 15.3, there’s no /run/media/ directory. On the Leap 15.3 desktop, it seems like there’s a USB drive plugged or something, but there isn’t. The only difference I see is the desktop still has the old 15.2 installation as well. I forgot to wipe the hard drive before installing 15.3 like I usually do.
[/SUB]
The laptop has crtbeginS.so in /usr/lib64/gcc/x86_64-suse-linux/7

On the desktop, I had installed ncurses-devel, and got rid of lots of warnings and “hints” when building a test app, in case anyone should ask. I did that on the laptop before installing Lazarus, but still get lots of “hints”, but don’t see a warning about crtbeginS.o / crtendS.o

Hi
You need to install gcc7…

That fixed it! Thanks! As for crtbeginS.o and crtendS.o being in the wrong place, I was looking at the Leap 15.2 partition. What a dummy I am. Maybe I’ll wipe the drive and reinstall 15.3 to avoid confusing myself later. I’m just testing it out anyway, I don’t install the new version on my “main” PC until the current one runs out. I hate surprises lol!