libpthread.so.0: error adding symbols: DSO missing from command line

前端 未结 14 1060
长情又很酷
长情又很酷 2020-11-22 07:00

When I\'m compiling openvswitch-1.5.0, I\'ve encountered the following compile error:

 gcc -Wstrict-prototypes -Wall -Wno-sign-compare -Wpointer-arith
     -         


        
14条回答
  •  一生所求
    2020-11-22 07:17

    I found I had the same error. I was compiling a code with both lapack and blas. When I switched the order that the two libraries were called the error went away.

    "LAPACK_LIB = -llapack -lblas" worked where "LAPACK_LIB = -lblas -llapack" gave the error described above.

提交回复
热议问题