Results 1 to 2 of 2

Thread: cannot find crt1.o:

  1. #1
    Join Date
    Apr 2021
    Beans
    1

    cannot find crt1.o:

    I'm compiling a program based on f77 and I get that

    HTML Code:
    /usr/bin/ld: cannot find crt1.o: No such file or directory
    /usr/bin/ld: cannot find crti.o: No such file or directory
    collect2: ld returned 1 exit status
    crt1.o and crt0.o both are in
    HTML Code:
    /usr/mipsel-linux-gnu/lib/crt1.o
    /usr/lib/x86_64-linux-gnu/crt1.o
    even after add path to bashrc
    HTML Code:
    Library_PATH=/usr/lib/x86_64-linux-gnu:$LIBRARY_PATH
    export LIBRARY_PATH
    I'm getting crazy with this error.
    Does anyone have a solution to this problem?

    my system is lubuntu 18.04.05

  2. #2
    Join Date
    Oct 2004
    Location
    33.4N -112.1W
    Beans
    2,435
    Distro
    Ubuntu Budgie

    Re: cannot find crt1.o:

    You may just need to install the gcc for mutlilib support

    Code:
    sudo apt install gcc-multilib
    /path/to/Truth

Bookmarks

Posting Permissions

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