我正在尝试在Ubuntu12.1064位上安装Giza++和摩西。虽然make我一直得到相同的问题:
Finished building giza
cp ../lib/libgiza.a /usr/local/lib/..
giza-pgplot.o -L/usr/X11R6//lib -lX11 -L/usr/X11R6//lib -lcairo -lm -L/usr/local /lib/x86_64/ -lgfortran
/usr/bin/ld: giza-fortran.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
giza-fortran.o: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
make[1]: *** [../lib/libpgplot.so] Error 1
make[1]: Leaving directory `/home/maria/moses/giza/build'
make: *** [install] Error 2 "在谷歌上搜索也没有多大帮助。我将非常感谢任何关于如何解决这个问题的建议。我应该怎么做才能用-fPIC重新编译?
发布于 2013-01-19 00:45:15
这个问题只存在于从svn中检出的giza中。这个来自tar.gz http://code.google.com/p/giza-pp/downloads/list的安装没有任何问题。不管是什么..。
https://stackoverflow.com/questions/14385537
复制相似问题