On 10/14/2011 04:59 AM, Ryan Hill wrote: > On Fri, 14 Oct 2011 01:01:50 +0300 > Samuli Suominen <ssuomi...@gentoo.org> wrote: > >> Title: Upgrade to libpng15 >> Author: Samuli Suominen <ssuomi...@gentoo.org> >> Content-Type: text/plain >> Posted: 2011-10-14 >> Revision: 1 >> News-Item-Format: 1.0 >> Display-If-Installed: <media-libs/libpng-1.5 >> >> After upgrading from libpng14 to libpng15 it's important that you rebuild >> cairo and gdk-pixbuf soon as possible if they are installed. > ^ as >> Then you can proceed with rebuilding rest of the software against the new > ^ the >> library: >> >> # revdep-rebuild --library libpng14.so.14 >> >> In case of failure, try skipping the failing package and rebuilding it >> later in the process. > > How? > >> If you find packages not building with message "ld: cannot find -lpng14", > ^ the >> they are likely caused by broken libtool archives (.la) in your system. >> >> You can identify those files with following one-liner: >> >> # find /usr/ -name '*.la' -exec grep png14 {} + >> >> More information and help is available at following forums post: > ^ the ^-s? >> >> http://forums.gentoo.org/viewtopic-t-894950.html >> > > >
Attaching draft #2. I've taken account all the replies so far. I left complex one-liners out in _purpose_, and _want to_ people not understanding the issue to follow up in the forums post.
Title: Upgrade to libpng15 Author: Samuli Suominen <ssuomi...@gentoo.org> Content-Type: text/plain Posted: 2011-10-14 Revision: 1 News-Item-Format: 1.0 Display-If-Installed: <media-libs/libpng-1.5 After upgrading from libpng14 to libpng15 it's important that you rebuild cairo and gdk-pixbuf as soon as possible if they are installed. Then you can proceed with rebuilding the rest of the software against the new library: # revdep-rebuild --library libpng14.so.14 -- --keep-going Note: It might be necessary to run the previous command more than once. If you find packages not building with the message "ld: cannot find -lpng14", they are likely caused by broken libtool archives (.la) in your system. You can identify those files with following one-liner: # find /usr/ -name '*.la' -exec grep png14 {} + Ocne you have identified the broken files, you can either delete them, edit them in place and replace png14 with png15, or re-emerge the packages they belong to. More information and help is available at the following forum post: http://forums.gentoo.org/viewtopic-t-894950.html