[GH-ISSUE #888] error: linking with cc failed: exit status: 1 #380

Closed
opened 2026-02-28 14:48:48 +03:00 by kerem · 2 comments
Owner

Originally created by @AshutoshSajan on GitHub (Sep 17, 2021).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/888

Error while installing the program

> cargo install spotify-tui           
    Updating crates.io index
   Installing spotify-tui v0.25.0
   Compiling autocfg v1.0.1
   Compiling libc v0.2.102
   Compiling cfg-if v1.0.0
   Compiling proc-macro2 v1.0.29
   Compiling unicode-xid v0.2.2
   Compiling syn v1.0.76
   Compiling log v0.4.14
   Compiling memchr v2.4.1
   Compiling cc v1.0.70
   Compiling bitflags v1.2.1
error: linking with `cc` failed: exit status: 1


/usr/bin/ld: cannot find Scrt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
collect2: error: ld returned 1 exit status
Originally created by @AshutoshSajan on GitHub (Sep 17, 2021). Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/888 Error while installing the program ```sh > cargo install spotify-tui Updating crates.io index Installing spotify-tui v0.25.0 Compiling autocfg v1.0.1 Compiling libc v0.2.102 Compiling cfg-if v1.0.0 Compiling proc-macro2 v1.0.29 Compiling unicode-xid v0.2.2 Compiling syn v1.0.76 Compiling log v0.4.14 Compiling memchr v2.4.1 Compiling cc v1.0.70 Compiling bitflags v1.2.1 error: linking with `cc` failed: exit status: 1 /usr/bin/ld: cannot find Scrt1.o: No such file or directory /usr/bin/ld: cannot find crti.o: No such file or directory collect2: error: ld returned 1 exit status ```
kerem closed this issue 2026-02-28 14:48:48 +03:00
Author
Owner

@Anonymboy20700 commented on GitHub (Sep 17, 2021):

Error while installing the program


> cargo install spotify-tui           

    Updating crates.io index

   Installing spotify-tui v0.25.0

   Compiling autocfg v1.0.1

   Compiling libc v0.2.102

   Compiling cfg-if v1.0.0

   Compiling proc-macro2 v1.0.29

   Compiling unicode-xid v0.2.2

   Compiling syn v1.0.76

   Compiling log v0.4.14

   Compiling memchr v2.4.1

   Compiling cc v1.0.70

   Compiling bitflags v1.2.1

error: linking with `cc` failed: exit status: 1





/usr/bin/ld: cannot find Scrt1.o: No such file or directory

/usr/bin/ld: cannot find crti.o: No such file or directory

collect2: error: ld returned 1 exit status

<!-- gh-comment-id:921803780 --> @Anonymboy20700 commented on GitHub (Sep 17, 2021): > Error while installing the program > > > > ```sh > > > cargo install spotify-tui > > Updating crates.io index > > Installing spotify-tui v0.25.0 > > Compiling autocfg v1.0.1 > > Compiling libc v0.2.102 > > Compiling cfg-if v1.0.0 > > Compiling proc-macro2 v1.0.29 > > Compiling unicode-xid v0.2.2 > > Compiling syn v1.0.76 > > Compiling log v0.4.14 > > Compiling memchr v2.4.1 > > Compiling cc v1.0.70 > > Compiling bitflags v1.2.1 > > error: linking with `cc` failed: exit status: 1 > > > > > > /usr/bin/ld: cannot find Scrt1.o: No such file or directory > > /usr/bin/ld: cannot find crti.o: No such file or directory > > collect2: error: ld returned 1 exit status > > ``` > >
Author
Owner

@AshutoshSajan commented on GitHub (Sep 18, 2021):

sudo apt install gcc-multilib fixed that for me

<!-- gh-comment-id:922363008 --> @AshutoshSajan commented on GitHub (Sep 18, 2021): `sudo apt install gcc-multilib` fixed that for me
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-tui#380
No description provided.