Gentoo 12 How-to Manually Installing the libpng12 Library

December 20th, 2012 by Regaz



The Guide Simply Shows How-to Manually Compiling and Installing the libpng12 32/64bit for Linux Gentoo 12.

This Procedure will Permit to Dispose of a Gentoo Custom System with Both libpng12 and libpng15 Working On.

I Need to Make Very Clear that This is Not the Good Way of Installing the libpng12 for Gentoo but Just a Command Line Exercise about Manually Compiling and Installing a Linux Custom Package.

So If You Need Just Install the libpng12 for Gentoo Look: How-to Install libpng12 for Linux Gentoo

This is Very Usefull when You Want to Use some Software like the Evernote Linux Clone that still Depend from the Presence of libpng12!

Finally the post’s Content is Expressly Reduced to Give Focus to the Essentials Instructions and Commands.

gnomePenguin Gentoo
  1. Download libpng12 Source Code:
    libpng12-50 source tar.gz
  2. Open a Terminal Window
    (Press “Enter” to Execute Commands)
  3. Extracting libpng12
    sudo su

    If Got “User is Not in Sudoers file” then Look: Solution

    mv to>libpng12*tar.gz /tmp
    tar xvzf /tmp/libpng12*tar.gz
  4. Manaully Installing libpng12
    mkdir /tmp/libpng-12
    cd /tmp/libpng12*
    ./configre --prefix=/tmp/lipng-12
    make
    make install

    Then Relocate the Produced libpng12 binaries Into Target

    mv /tmp/libpng-12/libpng12* /usr/lib/
  5. Re-Installing System libpng (libpng15)
    emerge libpng
  6. Re-Linking libpng12
    ln -fs /usr/lib/libpng12.so.0.50.0 /usr/lib/libpng12.so.0
    ln -fs /usr/lib/libpng12.so.0.50.0 /usr/lib/libpng12.so
  7. The Latest Two Steps are Necessaries Because the lipng12 Install Change the System libpng Symlinks and because Also libpng15 is Needed for Gentoo Well Functioning!

    How-to Easy&Quick Installing Gentoo 12 KDE4 from Live DVD:

    Gentoo 12 KDE4 Quick-Installation
(Visited 62 times, 1 visits today)

Tags: , , , , , , ,