我正在尝试使用此处的说明编译 LibreOffice 。但是当我运行时make
,我得到了这个错误:
/usr/bin/ld: /usr/local/lib/libpython3.7m.a(abstract.o): relocation R_X86_64_PC32 against symbol `_Py_NotImplementedStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make[1]: *** [/opt/libreoffice/core/pyuno/Library_pyuno.mk:10: /opt/libreoffice/core/instdir/program/libpyuno.so] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:282: build] Error 2