emerge fails: /bin/grep: /usr/lib64/libpng12.la: No such file or directory /bin/sed: can't read /usr/lib64/libpng12.la: No such file or directory libtool: link: `/usr/lib64/libpng12.la' is not a valid libtool archive make[4]: *** [libswfdec-0.8.la] Error 1 after "ln -s /usr/lib64/libpng14.la /usr/lib64/libpng12.la", emerge fails with /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpng12 collect2: ld returned 1 exit status Reproducible: Always Steps to Reproduce: 1.emerge =media-libs/swfdec-0.8.4 2. 3. Actual Results: build error Expected Results: clean install
same problem for www-plugins/gnash-0.8.7: libtool: link: cannot find the library `/usr/lib64/libpng12.la' or unhandled argument `/usr/lib64/libpng12.la'
Remove all those symlinks you may have created and re-emerge libpng-1.4.3, and read the postinst message. It has a script you need to run to fix .la files.