You are not logged in.

#1 2012-02-06 13:13:23

enochnotsocool
Member
From: Taiwan
Registered: 2011-11-02
Posts: 21

[Solved]Firefox-kde-opensuse unable to open or re-compile

After updating the system today, firefox was unable to run.
When running it in the terminal the following was produced:

XPCOMGlueLoad error for file /usr/lib/firefox/libxpcom.so:
libpng14.so.14: cannot open shared object file: No such file or directory
Couldn't load XPCOM.

I know that the libpng file has been updated to libpng15.so.15, but re-compiling the program doesn't seem to work. What should I do?

Last edited by enochnotsocool (2012-02-11 14:15:34)

Offline

#2 2012-02-06 15:16:00

vooze
Member
Registered: 2011-07-10
Posts: 10

Re: [Solved]Firefox-kde-opensuse unable to open or re-compile

I just updated all my AUR packages with yaourt -Sb package, after that reinstalled librsvg and did a sudo pacman -Syu and now its all working again, Hope this helps.

Offline

#3 2012-02-06 15:23:20

desm0tes
Member
From: 127.0.0.1
Registered: 2012-02-04
Posts: 233
Website

Re: [Solved]Firefox-kde-opensuse unable to open or re-compile

If all else fails, there's a workaround of copying the libpng15.so.15 to libpng14.so.14, but that's really something to do when all else fails wink

Offline

#4 2012-02-06 16:11:58

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [Solved]Firefox-kde-opensuse unable to open or re-compile

enochnotsocool wrote:

re-compiling the program doesn't seem to work.

Is that really all you have to say about it? People will only be able to help if you provide details.

Offline

#5 2012-02-06 16:41:31

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: [Solved]Firefox-kde-opensuse unable to open or re-compile

desm0tes wrote:

If all else fails, there's a workaround of copying the libpng15.so.15 to libpng14.so.14, but that's really something to do when all else fails wink

No, that's a good way to break something, if all else fails a better solution is to use libpng14 from the aur. But as tomk said if we have more info we can probably help get it compiling.

Offline

#6 2012-02-07 01:24:32

enochnotsocool
Member
From: Taiwan
Registered: 2011-11-02
Posts: 21

Re: [Solved]Firefox-kde-opensuse unable to open or re-compile

tomk wrote:

Is that really all you have to say about it? People will only be able to help if you provide details.

So, sorry.... My bad.
The error message at the end is:

/usr/include/libpng15/png.h:720:16: error: forward declaration of ‘png_info {aka struct png_info_def}’
make[6]: *** [RasterImage.o] Error 1
make[6]: Leaving directory `/tmp/yaourt-tmp-ensc/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/modules/libpr0n/src'
make[5]: *** [src_libs] Error 2
make[5]: Leaving directory `/tmp/yaourt-tmp-ensc/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu/modules/libpr0n'
make[4]: *** [libs_tier_platform] Error 2
make[4]: Leaving directory `/tmp/yaourt-tmp-ensc/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[3]: *** [tier_platform] Error 2
make[3]: Leaving directory `/tmp/yaourt-tmp-ensc/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/tmp/yaourt-tmp-ensc/aur-firefox-kde-opensuse/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
make[1]: *** [realbuild] Error 2
make[1]: Leaving directory `/tmp/yaourt-tmp-ensc/aur-firefox-kde-opensuse/src/mozilla-release'
make: *** [build] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build firefox-kde-opensuse.

(Sorry about the late post. Living in a odd time zone is kinda odd...)

Offline

#7 2012-02-11 14:15:13

enochnotsocool
Member
From: Taiwan
Registered: 2011-11-02
Posts: 21

Re: [Solved]Firefox-kde-opensuse unable to open or re-compile

Installing the libpng14 from the AUR works. But the problem is solved anyway with the new package. Thanks to all those who offered their advice. : )

Offline

Board footer

Powered by FluxBB