LibXML Compile Error: relocation R_X86_64_32 against `a local symbol' can not be used when making a
来源:互联网 发布:淘宝客服转化率怎么算 编辑:程序博客网 时间:2024/05/16 10:32
LibXML Compile Error: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object;recompile with -fPIC
If you get the following error during a libxml compile with a 64-bit system:
In this case, the solution is to set libxml to not use fPIC or shared libraries.
Edit the build script. In the doLibxml2 section, find the line:
If you get the following error during a libxml compile with a 64-bit system:
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/libm.a(s_floor.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/libm.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
In this case, the solution is to set libxml to not use fPIC or shared libraries.
Edit the build script. In the doLibxml2 section, find the line:
./configure --prefix=/usr/local --without-python
and change it to:(这样配置可以解决)
./configure --prefix=/usr/local --without-python --disable-shared --without-pic
阅读全文
0 0
- LibXML Compile Error: relocation R_X86_64_32 against `a local symbol' can not be used when making a
- 编译动态库出现问题relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object
- relocation R_X86_64_32S against `a local symbol’ can not be used when making a shared object; recomp
- relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recomp
- 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 XXXXX can not be used when making a shared object;recompile with -fPI
- 学习笔记: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;
- 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
- .libs/alloc.o: relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared
- linux 生成动态库时提示relocation R_X86_64_32 against `.rodata' can not be used when making a shared object;
- error: relocation R_X86_64_32S against `vtable for hit' can not be used when making a shared object
- relocation R_X86_64_32S against `_nc_globals' can not be used when making a shared object; recompile
- relocation R_X86_64_32 against `a local symbol'
- relocation R_X86_64_32 against `a local symbol'
- php5.2.17安装libpng时报zlib的错误:libz.a(crc32.o): relocation R_X86_64_32 against `a local symbol' can not
- 构造函数拓展
- javascript小白常用 基础知识
- 2017 ACM/ICPC Asia Regional Qingdao Online Brute Force Sorting
- 【网易笔试题】游戏中挂机
- 基于Win10系统搭建MQTT以及JAVA实现测试
- LibXML Compile Error: relocation R_X86_64_32 against `a local symbol' can not be used when making a
- Java进阶(二)理解Java的三大特性之继承
- 数据库索引全解(What is Database Index)
- Binary search tree?
- 自动构造词法分析器的步骤——正规式转换为最小化DFA
- POJ 1661 Help Jimmy 一般dp
- Intent跳转工具类
- 浏览器中例如a,input,button,select等标签坑爹的默认触发时的样式
- 菜鸟第一次挑战apk逆向,结果整得怀疑人生,终于知道android apk加密的重要性