relocation R_X86_64_32S against `_nc_globals' can not be used when making a shared object; recompile

来源:互联网 发布:windows update不见了 编辑:程序博客网 时间:2024/04/30 21:02

/usr/bin/ld: /usr/lib/libcurses.a(lib_termcap.o): relocation R_X86_64_32S against `_nc_globals' can not be used when making a shared object; recompile with -fPIC

/usr/lib/libcurses.a: could not read symbols: Bad value

collect2: ld returned 1 exit status

make[3]: *** [libedit.la] 错误 1



源码安装libedit时,make的时候出现了上面的错误,此类错误可能是由于系统没有安装开发包(这里是curses的开发包)导致的,试着安装ncurses的开发包,果然可以了,我还是挺聪明的

0 0
原创粉丝点击