Ragnar Thomsen wrote:
> After upgrading to libpng-1.6 the compilation step for firefox-20.0.1
> completes without problems.
> However, when building the installer, the process fails with:
> ...
> /sources/mozilla-release/firefox-build-dir/dist/bin/xpcshell: error while
> loading shared libraries: libpng15.so.15: cannot open shared object file: No
> such file or directory
> make[2]: *** [prepare-package] Error 127
> make[2]: Leaving directory `/sources/mozilla-release/firefox-build-
> dir/browser/installer'
> make[1]: *** [make-package] Error 2
> ...
>
> Creating a symlink with:
> ln -svf /usr/lib/libpng16.so.16.2.0 libpng15.so.15
>
> fixes the problem.
>
> If the symlink is deleted after installing firefox, firefox won't start:

What I have on the system I'm using right now is a bit dated, but I have:

lrwxrwxrwx       11 2012 /usr/lib/libpng.so -> libpng15.so
lrwxrwxrwx       19 2012 /usr/lib/libpng15.so -> libpng15.so.15.10.0
lrwxrwxrwx       19 2012 /usr/lib/libpng15.so.15 -> libpng15.so.15.10.0
-rwxr-xr-x   609365 2012 /usr/lib/libpng15.so.15.10.0

What do your other symlinks look like?

Generally, the linker will look for libpng15.so.  If you have 
libpng16.so, then I think there needs to be a change in one of the 
firefox Makefiles.

   -- Bruce

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to