The Guide Simply Shows How to Manually Compiling and Installing the libpng12 32/64-bit for Linux Gentoo 12.
This Procedure will Permit must have 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.
-
Download libpng12 Source Code:
libpng12-50 source tar.gz -
Open a Terminal Window
(Press “Enter” to Execute Commands) -
Extracting libpng12
sudo su
If Got “User is Not in Sudoers file” then see: How to Enable sudo
mv
to>libpng12*tar.gz /tmp tar xvzf /tmp/libpng12*tar.gz
-
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/
-
Re-Installing System libpng (libpng15)
emerge libpng
-
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
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: