|
| View previous topic :: View next topic |
| Author |
Message |
JohnCSYZ
Joined: 17 Jan 2013 Posts: 5
|
Posted: Wed Feb 13, 2013 2:37 pm Post subject: |
|
|
Hi Mat,
Yes!! You are right!
I just moved out original ld (gold) from the PATH, and the error is gone.
But some new come out:
/home/john/.local/lib/binutils/bin/ld: cannot find -ldl
/home/john/.local/lib/binutils/bin/ld: cannot find -lpthread
/home/john/.local/lib/binutils/bin/ld: cannot find -lm
/home/john/.local/lib/binutils/bin/ld: cannot find -lc
any idea? Thanks |
|
| Back to top |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 4996 Location: The Portland Group Inc.
|
Posted: Wed Feb 13, 2013 5:38 pm Post subject: |
|
|
Hmm, that means the linker doesn't know where to look for the standard system libraries. There's probably some configuration missing, but unfortunately I don't know what needs to be done. Maybe it's because you have it installed in your local directory?
Instead, try adding "-L/usr/lib" to your link line. If that doesn't work, add the verbose flag (-v) to your link command, and post the fill output. Not sure it will help, but it may give us some ideas.
- Mat |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group
|