could not run xpdf

Hi,
I have installed the xpdf software from the qnx third party CD. When I am running the xpdf, I am getting an error.

#/usr/bin/xpdf
could find libXpm.so.4

I any one had installed xpdf please tell me how to overcome this problem.

Thank u in advance :frowning:

xpdf worked for me first time, try doing a search for libXpm on your hard disk, on the terminal just do

find / -name libXpm

If it does not find anything, then you’ll need to get libXpm, which I think might come as part of the Xfree86 package on the QNX repository. If it is found, then make sure the name is exactly the same, i.e. not libXpm.so.5 or something, if you’ve got a libXpm.so.(higher number), you can sometimes make a symbolic link to the older name, and it will generally work, but not all the time. If you’ve got the correct filename, make sure the directory in which the library resides is in $LD_LIBRARY_PATH. If it’s not in LD_LIBRARY_PATH, add it (in bash) by doing:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/the/dir/which/contains/libXpm

If that makes it work, then you can make it add the paths on startup.

HTH

Garry