/usr/bin/ld: zdatabase.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
/lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
makefile:23: recipe for target 'hello' failed
make: *** [hello] Error 1
makefile 编译文件的时候提示这个错误,试过网上很多方法,还是报错,在线等
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
5条回答 默认 最新
- a1104588566 2015-12-16 16:16关注
readelf查看下pthread.so库中的symbol
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报