| ||
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 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 |
LibXML Compile Error: relocation R_X86_64_32 against `a local symbol‘ can not be used when making a
最新推荐文章于 2024-06-09 15:32:01 发布