libXp.so.6 missing for ubuntu 17.04

mc@mc:~$ sudo apt-get install libXp.so.6
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libXp.so.6
E: Couldn't find any package by glob 'libXp.so.6'
E: Couldn't find any package by regex 'libXp.so.6'
mc@mc:~$ 

and there is no package related to libxp6 for ubuntu 17.04

5

4 Answers

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...

Open the software sources config in a text editor with root permission, for example

sudo vim /etc/apt/sources.list

Append this line:

deb precise-security main

Then run

sudo apt update
sudo apt install libxp6
0

I haven't found any library that would support this package for Ubuntu 17.04. However there is a temporal solution that works OK for me:

Download libxp6 package from earlier Ubuntu version:

Then install it manually using

sudo dpkg -i ./libxp6_1.0.2-1ubuntu1_amd64.deb
sudo apt-get install -f

It seems the package is compatible (enough) with 17.04.

A working solution for installing libXp.so.6:

  1. First provide multiarch support by

    wget
    sudo dpkg -i multiarch-support_2.27-3ubuntu1.2_amd64.deb
  2. Proceed to install libXp.so.6

    wget
    sudo dpkg -i libxp6_1.0.2-2_amd64.deb

Cheers.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like