Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

when i tried to open a pdf file in terminal using xpdf i get segmentation fault error. how do I solve this?

here is the command and error message:

xpdf 320Lecture10.pdf 
***** MediaBox = ll:0,0 ur:612,792
***** CropBox = ll:0,0 ur:612,792
***** Rotate = 0
Segmentation fault (core dumped)
share|improve this question
Try this. – green Aug 13 '13 at 10:53

1 Answer 1

This is a reported bug on

Anyway, you can try this method to solve your problem. In terminal run the following commands:

sudo apt-get install libfreetype6-dev libmotif-dev
tar xzpf xpdf-3.03.tar.gz
cd xpdf-3.03
./configure -with-freetype2-library=/usr/lib/i386-linux-gnu -with-freetype2-includes=/usr/include/freetype2 -with-Xm-library=/usr/lib -with-Xm-includes=/usr/include/Xm
sudo make install


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.