PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

SECTIONS seen after other input files;
Goto page Previous  1, 2
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation
View previous topic :: View next topic  
Author Message
JohnCSYZ



Joined: 17 Jan 2013
Posts: 5

PostPosted: Wed Feb 13, 2013 2:37 pm    Post subject: Reply with quote

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
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6146
Location: The Portland Group Inc.

PostPosted: Wed Feb 13, 2013 5:38 pm    Post subject: Reply with quote

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
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation All times are GMT - 7 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
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 © phpBB Group