Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
1  
Try this. –  green7 Aug 13 '13 at 10:53
add comment

1 Answer

This is a reported bug on https://bugs.launchpad.net/ubuntu/+source/xpdf/+bug/1056361.

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

sudo apt-get install libfreetype6-dev libmotif-dev
wget ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.03.tar.gz
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
make
sudo make install

Source: http://linuxtricksandubuntraps.tumblr.com/post/45909461325/ubuntu-segmentation-fault-when-xpdf-is-launched

share|improve this answer
add comment

Your Answer

 
discard

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.