← Back to team overview

qpdfview team mailing list archive

Re: [Question #250969]: Install mupdf plugin for qpdfview

 

Question #250969 on qpdfview changed:
https://answers.launchpad.net/qpdfview/+question/250969

    Status: Answered => Open

Abhishek Gupta is still having a problem:
Hello Adam,

Thanks for your reply .after installing mupdf it is showing given error


abhishek@AbhiDGamer:~/qpdfview$ qmake CONFIG+=without_pdf CONFIG+=with_fitz qpdfview.pro
abhishek@AbhiDGamer:~/qpdfview$ make
( test -e Makefile.ps-plugin || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/abhishek/qpdfview/ps-plugin.pro CONFIG+=without_pdf CONFIG+=with_fitz -o Makefile.ps-plugin ) && make -f Makefile.ps-plugin 
make[1]: Entering directory `/home/abhishek/qpdfview'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/home/abhishek/qpdfview'
( test -e Makefile.djvu-plugin || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/abhishek/qpdfview/djvu-plugin.pro CONFIG+=without_pdf CONFIG+=with_fitz -o Makefile.djvu-plugin ) && make -f Makefile.djvu-plugin 
make[1]: Entering directory `/home/abhishek/qpdfview'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/home/abhishek/qpdfview'
( test -e Makefile.fitz-plugin || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/abhishek/qpdfview/fitz-plugin.pro CONFIG+=without_pdf CONFIG+=with_fitz -o Makefile.fitz-plugin ) && make -f Makefile.fitz-plugin 
make[1]: Entering directory `/home/abhishek/qpdfview'
rm -f libqpdfview_fitz.so
g++ -m64 -Wl,-O1 -shared -o libqpdfview_fitz.so objects-fitz/fitzmodel.o objects-fitz/moc_model.o objects-fitz/moc_fitzmodel.o  -L/usr/X11R6/lib64 -lmupdf -lfreetype -ljbig2dec -ljpeg -lz -lm -lQt5Widgets -L/usr/lib/x86_64-linux-gnu -lQt5Gui -lQt5Core -lGL -lpthread  
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmupdf.a(pdf-colorspace.o): relocation R_X86_64_PC32 against symbol `pdf_load_colorspace' 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]: *** [libqpdfview_fitz.so] Error 1
make[1]: Leaving directory `/home/abhishek/qpdfview'
make: *** [sub-fitz-plugin-pro-make_first-ordered] Error 2
abhishek@AbhiDGamer:~/qpdfview$

-- 
You received this question notification because you are a member of
qpdfview, which is an answer contact for qpdfview.