PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Linking error : /usr/bin/ld: cannot find -lpthread

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
970980hs



Joined: 01 Jan 2014
Posts: 10

PostPosted: Thu Feb 06, 2014 5:21 pm    Post subject: Linking error : /usr/bin/ld: cannot find -lpthread Reply with quote

I didn't use -Bstatic or -static for linking.
And also as I mentioned, gcc compiling is working well.
Also pthread library is installed proper location.
I think it just happen because there are no -lpthread option
in pgcc case... how do i solve this?
Back to top
View user's profile
mkcolg



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

PostPosted: Fri Feb 07, 2014 10:08 am    Post subject: Reply with quote

Can you please post the verbose output from the link? (i.e. add the "-v" flag to you link and post the full output).

Also, which OS are you using?

Thanks,
Mat
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling All times are GMT - 7 Hours
Page 1 of 1

 
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