gen2brain / go-fitz

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

linux compilation error #90

Closed zzdboy closed 11 months ago

zzdboy commented 12 months 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 12 months ago

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

zzdboy commented 12 months ago

Ok, thank you for your reply

gen2brain commented 12 months 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.