Your pkg-config file [1] lists Libs: -L${libdir} -lmupdf but your library is named and installed as libfitz.a [2, Makefile line 110]. [1]http://git.ghostscript.com/?p=mupdf.git;a=blob;f=debian/mupdf.pc;hb=HEAD [2] http://git.ghostscript.com/?p=mupdf.git;a=blob;f=Makefile;hb=HEAD
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-text/mupdf/files/mupdf-1.2-pkg-config.patch?revision=1.1&view=markup http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-text/mupdf/files/mupdf-9999-openjpeg2.patch?revision=1.4&view=markup
by latest commits, this is fixed.