Skip to content

Instantly share code, notes, and snippets.

@ArashHosseini
Last active November 21, 2019 10:24
Show Gist options
  • Save ArashHosseini/e4ac7f13e985ac7784d0752d4c1f1cdb to your computer and use it in GitHub Desktop.
Save ArashHosseini/e4ac7f13e985ac7784d0752d4c1f1cdb to your computer and use it in GitHub Desktop.
install missing libs for ubuntu 18+ / maya 17+
#install libpng 12#####################################################################
wget http://archive.ubuntu.com/ubuntu/pool/main/libp/libpng/libpng_1.2.54.orig.tar.xz
tar xvf libpng_1.2.54.orig.tar.xz
cd libpng-1.2.54
./autogen.sh
./configure
make -j8
sudo make install
#then update the links with:
sudo ldconfig
#linking to libXpm#####################################################################
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment