Chromium版本为Chromium-7.0.517.44 直接升级Chromium在编译的过程中会提示以下错误: Package libpng12 was not found in the pkg-config search path. Perhaps you should add the directory containing `libpng12.pc' to the PKG_CONFIG_PATH environment variable Package 'libpng12', required by 'cairo', not found 升级cairo到相应版本,问题解决
然后提示: grep: /usr/lib/libpng12.la: No such file or directory 安装media-libs/libpng-1.2 版本 执行升级 /usr/sbin/libpng-1.4.x-update.sh 同时把把libpng.la 复制成libpng12.la放到目录下就可以了。