解决办法:undefined reference to symbol 'pthread_mutexattr_settype@@GLIBC_2.2.5'

简介: 解决办法:undefined reference to symbol 'pthread_mutexattr_settype@@GLIBC_2.2.5'

当时吾就傻眼了,赶紧上网一查链接加上:

  -L../boost/stage/lib -pthread

 好怪异!是的,可是已经编译通过啦.

目录
相关文章
|
3月前
|
存储 API Windows
MASM32连接程序时error A2006: undefined symbol : u
MASM32连接程序时error A2006: undefined symbol : u
undefined reference to symbol 'dlsym@@GLIBC_2.17' libdl.so: error adding symbols: DSO missing from c
undefined reference to symbol 'dlsym@@GLIBC_2.17' libdl.so: error adding symbols: DSO missing from c
606 0
解决办法:undefined reference to symbol 'shm_open@@GLIBC_2.2.5'
解决办法:undefined reference to symbol 'shm_open@@GLIBC_2.2.5'
381 0
ImportError: /lib/libgdal.so.26: undefined symbol: sqlite3_column_table_name
ImportError: /lib/libgdal.so.26: undefined symbol: sqlite3_column_table_name
439 0
|
Ubuntu C语言
【ubuntu】2.c:(.text+0xd2): undefined reference to `pthread_create‘ collect2: error: ld returned
【ubuntu】2.c:(.text+0xd2): undefined reference to `pthread_create‘ collect2: error: ld returned
146 0
|
JavaScript 前端开发 关系型数据库
Yum报错“undefined symbol: CRYPTO_num_locks”问题排查
Yum无法使用,报错 “/usr/lib64/python2.7/site-packages/pycurl.so: undefined symbol: CRYPTO_num_locks”。
12744 0
解决办法:undefined reference to symbol 'pthread_mutexattr_settype@@GLIBC_2.2.5'
解决办法:undefined reference to symbol 'pthread_mutexattr_settype@@GLIBC_2.2.5'
299 0
解决办法:undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
解决办法:undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
700 0
undefined reference to symbol XGetWindowAttributes/cairo_destroy/XShapeGetRectangles
undefined reference to symbol XGetWindowAttributes/cairo_destroy/XShapeGetRectangles
144 0
no symbol version section for versioned symbol `memcpy@GLIBC_2.4'
no symbol version section for versioned symbol `memcpy@GLIBC_2.4'
155 0