gen2brain / go-fitz

Golang wrapper for the MuPDF Fitz library
GNU Affero General Public License v3.0
429 stars 97 forks source link

linux compilation error #90

Closed zzdboy closed 1 year ago

zzdboy commented 1 year ago

github.com/gen2brain/go-fitz@v1.22.2/libs/libmupdfthird_linux_amd64.a(one.o): relocation R_X86_64_PC32 against symbol `stdout@@GLIBC_2.2.5' can not be used when making a PDE object; recompile with -fPIE\n/usr/bin/ld: final link failed: bad value\ncollect2: error: ld returned 1 exit status\n\n

@gen2brain

gen2brain commented 1 year ago

https://github.com/gen2brain/go-fitz/issues/85

zzdboy commented 1 year ago

Ok, thank you for your reply

gen2brain commented 1 year ago

@zzdboy You can compile binary on recent OS and then use that binary on old OS. Sorry, but as mentioned in other issue I don't have time to support old systems. Alternative is also to use external library.