- 论坛徽章:
- 0
|
我在安装一系统是出错,寻求帮助(目前系统环境为:fb amd64 7.0,原来在fb i386 7.0下成功安装),下面是安装步骤:
install iconv-hook
# cd lib
# ./configure
# gmake
# gmake install
3 build mod_encoding
# cd ..
# ./configure --with-apxs=/usr/local/sbin/apxs --with-iconv-hook=/usr/local/include
# gmake
# gcc -shared -o mod_encoding.so mod_encoding.o -Wc,-Wall -L/usr/local/lib -Llib -liconv_hook -liconv
在这一步骤时出现错误:
www2# gcc -shared -o mod_encoding.so mod_encoding.o -Wc,-Wall -L/usr/local/lib -Llib -liconv_hook -liconv
/usr/bin/ld: /usr/local/lib/libiconv_hook.a(iconv_hook.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libiconv_hook.a: could not read symbols: Bad value
请问如何解决?我估计是和64位有关系。 |
|