relocation R_X86_64_32S against `_nc_globals' can not be used when making a shared object; recompile
2015-04-16 17:26
666 查看
/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的开发包,果然可以了,我还是挺聪明的
/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的开发包,果然可以了,我还是挺聪明的
相关文章推荐
- 编译动态库出现问题relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object
- relocation R_X86_64_32 against `.rodata' can not be used when making a shared object;
- relocation R_X86_64_32 against XXXXX can not be used when making a shared object;recompile with -fPI
- relocation R_ARM_THM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared objec
- 编译程序遇到问题 relocation R_X86_64_32 against `.rodata' can not be used when making a shared object;
- 学习笔记:relocation R_X86_64_32 against `.rodata' can not be used when making a shared object;
- 关于/usr/local/lib/libz.a(zutil.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC解决办法
- CentOS-6.3 编译erlang-otp 17.0 报relocation R_X86_64_32 against `OPENSSL_ia32cap_P' can not be used when making a shared object; recompile with -fPIC错误
- linux 生成动态库时提示relocation R_X86_64_32 against `.rodata' can not be used when making a shared object;
- relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recom
- libavcodec/mqc.o: relocation r_x86_64_32 against `.rodata' can not be used when making a shared obje
- relocation R_X86_64_32S against `a local symbol’ can not be used when making a shared object; recomp
- jsoncpp relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; ……
- .libs/alloc.o: relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared
- LibXML Compile Error: relocation R_X86_64_32 against `a local symbol' can not be used when making a
- can not be used when making a shared object; recompile with -fPIC
- can not be used when making a shared object; recompile with -fPIC
- 交叉编译出现a local symbol' can not be used when making a shared object的解决方法
- 加入ffmpeg静态库的错误can not be used when making a shared object; recompile with -fPIC
- gcc报错 can not be used when making a shared object; recompile with -fPIC