Package: libmupdf-dev
Version: 1.9a+ds1-1.2
Severity: important

I cannot use the .a mupdf library on amd64, it fails the link step with:

x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions
-Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
-Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong
-Wformat -Werror=format-security -Wl,-z,relro -fPIC
-D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-2.7/fitz/fitz_wrap.o
-lmupdf -lcrypto -ljbig2dec -lopenjp2 -ljpeg -lfreetype -lmupdfthird
-o /tmp/p/PyMuPDF-1.9.2/.pybuild/pythonX.Y_2.7/build/fitz/_fitz.so
/usr/bin/ld: 
/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libmupdf.a(draw-device.o):
relocation R_X86_64_PC32 against symbol `fz_empty_irect' 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

Thanks

Reply via email to