cannot find -lunwind-x86_64

错误代码: ; }) 

libtool: install: /usr/bin/install -c .libs/libunwind.lai /usr/local/lib/libunwind.la 

libtool: install: warning: relinking `libunwind-setjmp.la’ 

libtool: install: (cd /down/libunwind-1.0/src; /bin/sh /down/libunwind-1.0/libtool    –tag CC –mode=relink gcc -g -O2 -fexceptions -Wall -Wsign-compare -XCClinker -nostartfiles -version-info 0:0:0 -o libunwind-setjmp.la -rpath /usr/local/lib setjmp/longjmp.lo setjmp/siglongjmp.lo x86_64/longjmp.lo x86_64/siglongjmp.lo libunwind-elf64.la libunwind-x86_64.la libunwind.la -lc ) 

libtool: relink: gcc -shared    setjmp/.libs/longjmp.o setjmp/.libs/siglongjmp.o x86_64/.libs/longjmp.o x86_64/.libs/siglongjmp.o    -Wl,–whole-archive ./.libs/libunwind-elf64.a -Wl,–no-whole-archive    -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lunwind-x86_64 -lunwind -lc    -nostartfiles     -Wl,-soname -Wl,libunwind-setjmp.so.0 -o .libs/libunwind-setjmp.so.0.0.0 

/usr/bin/ld: cannot find -lunwind-x86_64 

collect2: ld returned 1 exit status 

libtool: install: error: relink `libunwind-setjmp.la’ with the above command before installing it 

make[3]: *** [install-libLTLIBRARIES] Error 1 

make[3]: Leaving directory `/down/libunwind-1.0/src’ 

make[2]: *** [install-am] Error 2 

make[2]: Leaving directory `/down/libunwind-1.0/src’ 

make[1]: *** [install] Error 2 

make[1]: Leaving directory `/down/libunwind-1.0/src’ 

make: *** [install-recursive] Error 1 问题原因实际就是autotools兼容性的问题,运行命令autoreconf -i -f  ,在重新编译安装下就过咯,如果解决了你问题请顶下哦 哈哈! 官于此命令的说明:http://www.9linux.com/autoreconf.html

本文转自 ibelieveme 51CTO博客,原文链接:http://blog.51cto.com/skyson/856891,如需转载请自行联系原作者

点赞