Thursday, February 25, 2010

libpng12.so.0 missing problem in Archlinux

Archlinux has been offering libpng14 recently, however if some self-compiled packages are used in the system, it may turn out an disaster :(

I had cario, freetype2 & libxft compiled from abs so as to enable sort of cleartype effect in type rendering, however, after I updated libpng recently from version 12 to 14, I cannot boot into gdm correctly. I cannot even run vim in a console for it complains that libpng12.so.0 cannot be found.

So I have to:

  1. boot with run level 3 (adding 3 at the end of grub's kernel line);
  2. login as root and remove self-compiled packages that require libpng12, cario, freetype2 & libxft in my case (I found -d option useful since I will soon reinstall these packages);
  3. recompile new versions with libpng14;
  4. install those packages.

1 comment:

  1. I know its a little late now, but you can install libpng12 from the AUR it works :) (at least for me)
    http://aur.archlinux.org/packages.php?ID=33795&O=&L=&C=&K=&SB=&SO=&PP=&do_Orphans=&SeB=

    ReplyDelete