RHEL 6 -lpthread not found
I am trying to compile some software written in 2009. I'm not a software engineer, just trying to help a user. Let me first say I'm using PGI Portland compilers, but I am not sure that has anything to do with the problem. I am also not sure that I can get in touch with the author of the software, but a lot has changed since she wrote it in 2009. Anyway in trying to compile, I get the error:
Code:
ld: -lpthread not found Code:
-L/usr/lib64 -lpthread |
If a collaborator has it on Centos, find out what version, as Centos is a free rebuild of RHEL, so you should be able to match versions and do whatever they did to make it build.
|
The problem has been solved. I work in a lab environment, and by lab I mean lots of buildings, with lots of users. Another SA pointed out someone here in another building had worked with NetCDF. When I went to visit him, he had compiled the exact same software I was having the pthread issue with. Right in the middle of our discussion he received a call and I had to leave, but he did say he was using an old version of NetCDF. I compiled that, and then talked to the user. She said someone across the hall from her took a lokk at the software in quest and suggested we removed a "Bstatic" entry in the makefile. We did that and it worked. I can compiled stuff that is thoroughly tested, but in this case I've not been able to reach the author and from what I can see, it hasn't been updated since 2009. Thanks.
|
All times are GMT -5. The time now is 04:18 PM. |