Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing gcc-multilib #36

Open
VBota1 opened this issue Nov 18, 2017 · 2 comments
Open

missing gcc-multilib #36

VBota1 opened this issue Nov 18, 2017 · 2 comments

Comments

@VBota1
Copy link

VBota1 commented Nov 18, 2017

Hello,

i had to install: gcc-multilib

to fix the following errors:
/usr/bin/ld: cannot find Scrt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
/usr/bin/ld: cannot find -lutil
/usr/bin/ld: cannot find -lutil
/usr/bin/ld: cannot find -ldl
/usr/bin/ld: cannot find -lrt
/usr/bin/ld: cannot find -lpthread
/usr/bin/ld: cannot find -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/5/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: cannot find -lgcc_s
/usr/bin/ld: cannot find -lc
/usr/bin/ld: cannot find -lm
/usr/bin/ld: cannot find -lrt
/usr/bin/ld: cannot find -lpthread
/usr/bin/ld: cannot find -lutil
/usr/bin/ld: cannot find crtn.o

VBota1 added a commit to VBota1/rust-cross that referenced this issue Nov 18, 2017
i had to install: gcc-multilib

to fix the following errors:
/usr/bin/ld: cannot find Scrt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
/usr/bin/ld: cannot find -lutil
/usr/bin/ld: cannot find -lutil
/usr/bin/ld: cannot find -ldl
/usr/bin/ld: cannot find -lrt
/usr/bin/ld: cannot find -lpthread
/usr/bin/ld: cannot find -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/5/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: cannot find -lgcc_s
/usr/bin/ld: cannot find -lc
/usr/bin/ld: cannot find -lm
/usr/bin/ld: cannot find -lrt
/usr/bin/ld: cannot find -lpthread
/usr/bin/ld: cannot find -lutil
/usr/bin/ld: cannot find crtn.o

I added this info to the Troubleshooting section on missing libs
@sunjay
Copy link

sunjay commented Aug 26, 2018

Note that installing this will uninstall gcc-arm-linux-gnueabihf and then you will get the error:

error: linker `arm-linux-gnueabihf-gcc` not found

See also: Can't install both gcc-multilib and gcc-arm-linux-gnueabihf

@autodidaddict
Copy link

I just ran into this problem and I'm stuck with the inability to compile for ARM v7 from my Ubuntu machine. Is there a workaround for this? I actually need this capability for the chapter I'm working on in my WebAssembly book.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants