linkoption選項中的otherlinkoption 加上 -ldl -lGLEW -lglfw3 -lGL -lX11 -lXi -lXrandr -lXxf86vm -lXinerama -lXcursor -lrt -lm -pthreadubuntu
search directory中加上第三方庫的include和lib路徑就ok了code
附上連接get
https://askubuntu.com/questions/334884/while-compiling-truecrypt-i-get-undefined-reference-to-symbol-dlcloseglibc http://www.developerq.com/article/1505241501