ld: cannot find -lXXX" 如-lpthread -lgomp

很简单,参照:http://stackoverflow.com/questions/335928/ld-cannot-find-an-existing-library

A quick hack is to symlink libxxx.so.1 to libxxx.so


ln -s libxxx.so libxxx.so.1

你可能感兴趣的:(ld: cannot find -lXXX" 如-lpthread -lgomp)