Results 1 to 4 of 4

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

  1. #1

    Default 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).
    Last edited by HighBloodSugar; 15-Jun-2021 at 16:10. Reason: Had wrong path
    Desktop : Leap 15.1 | KDE Plasma | AMD Phenom II x6 1035T | 8 GB Memory | Integrated Radeon HD4250 | Ext4
    Laptop: Leap 15.2 | KDE Plasma | Intel Core i5 3rd Gen 3320M 2.6GHz | Intel HD Graphics 4000 | 8 GB Memory | Ext4

  2. #2

    Default Re: Lazarus can't find crtbeginS.o and crtendS.o

    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.

    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
    Desktop : Leap 15.1 | KDE Plasma | AMD Phenom II x6 1035T | 8 GB Memory | Integrated Radeon HD4250 | Ext4
    Laptop: Leap 15.2 | KDE Plasma | Intel Core i5 3rd Gen 3320M 2.6GHz | Intel HD Graphics 4000 | 8 GB Memory | Ext4

  3. #3
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    31,476
    Blog Entries
    15

    Default Re: Lazarus can't find crtbeginS.o and crtendS.o

    Hi
    You need to install gcc7.....
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  4. #4

    Default Re: Lazarus can't find crtbeginS.o and crtendS.o

    Quote Originally Posted by malcolmlewis View Post
    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
    Desktop : Leap 15.1 | KDE Plasma | AMD Phenom II x6 1035T | 8 GB Memory | Integrated Radeon HD4250 | Ext4
    Laptop: Leap 15.2 | KDE Plasma | Intel Core i5 3rd Gen 3320M 2.6GHz | Intel HD Graphics 4000 | 8 GB Memory | Ext4

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •