I had this issue when trying to run an old app on Ubuntu 18.04. The workaround that I used was to create a symbolic link named libXp.so.6 pointing to file libXpm.so.4.11.0
Search for the package containing the file pattern libXpm
sudo dpkg -S libXpm
libxpm4:amd64: /usr/lib/x86_64-linux-gnu/libXpm.so.4
libxpm4:amd64: /usr/lib/x86_64-linux-gnu/libXpm.so.4.11.0
Then install the found package - libxpm4 (if not already installed)
sudo apt-get install libxpm4
Create the symbolic link:
cd /usr/lib/x86_64-linux-gnu
ls -l libXp*
lrwxrwxrwx 1 root root 16 Dec 22 2016 libXpm.so.4 -> libXpm.so.4.11.0
-rw-r--r-- 1 root root 72520 Dec 22 2016 libXpm.so.4.11.0
sudo ln -s libXpm.so.4.11.0 libXp.so.6
ls -l libXp*
lrwxrwxrwx 1 root root 16 Dec 22 2016 libXpm.so.4 -> libXpm.so.4.11.0
-rw-r--r-- 1 root root 72520 Dec 22 2016 libXpm.so.4.11.0
lrwxrwxrwx 1 root root 16 Nov 7 18:25 libXp.so.6 -> libXpm.so.4.11.0
If it's still worth for anybody...
libxp6
)? Maybe we can help you find a workaround for your problem – Zanna Aug 10 '17 at 07:03