You are not logged in.

#1 2010-01-31 19:07:20

guisacouto
Member
From: Portugal
Registered: 2009-06-27
Posts: 107

[SOLVED]libpng12.so.0: cannot openshared object file

well I guess I updated my system too soon..

I updated my arch and the repos were probably out of sync or something and it messed up everything..
now every-time I try to open almost every app I get this error:

error while loading shared libraries: libpng12.so.0: cannot open shared file: No such file or directory.


I already tryed to pacman -S libpng to reinstall it put it didnt seem to work.. whats the trick?

best regards!

Last edited by guisacouto (2010-01-31 19:14:48)

Offline

#2 2010-01-31 19:08:27

Arm-the-Homeless
Member
Registered: 2008-12-22
Posts: 273

Re: [SOLVED]libpng12.so.0: cannot openshared object file

What is "almost every app"?

Offline

#3 2010-01-31 19:13:07

guisacouto
Member
From: Portugal
Registered: 2009-06-27
Posts: 107

Re: [SOLVED]libpng12.so.0: cannot openshared object file

forget about it.. i thought that the problem was with libpng, but I didnt know that libpng12 was actually another lib.. and it wasnt installed as a dependency on the other updates (and it also wasnt in the official repos).

only noticed this when I searched in yaourt for libpng and found libpng12

i guess its solved! tks anyway!

regards

Offline

#4 2010-01-31 19:20:39

kazuo
Member
From: São Paulo/Brazil
Registered: 2008-03-18
Posts: 413
Website

Re: [SOLVED]libpng12.so.0: cannot openshared object file

Note that libpng12 is only a temporary workaround, the correct solution is rebuild and/or patch apps for the new libpng (as you *already* read on arch news about the rebuild)

Offline

#5 2010-01-31 19:28:11

guisacouto
Member
From: Portugal
Registered: 2009-06-27
Posts: 107

Re: [SOLVED]libpng12.so.0: cannot openshared object file

kazuo wrote:

Note that libpng12 is only a temporary workaround, the correct solution is rebuild and/or patch apps for the new libpng (as you *already* read on arch news about the rebuild)

I didnt know that and that was the problem.. the thing is.. libpng12 should come as a dependency or should be in the official repos in my opinion..

regards!

Offline

#6 2010-01-31 19:57:53

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED]libpng12.so.0: cannot openshared object file

can you post a list with all new packages updated?


Give what you have. To someone, it may be better than you dare to think.

Offline

#7 2010-01-31 20:52:47

mechmg93
Member
From: Greece
Registered: 2007-05-23
Posts: 197

Re: [SOLVED]libpng12.so.0: cannot openshared object file

i have excactly the same problem.

chromium, gparted, etc do not run because of the libpng12 issue . As a temporary solution i installed libpng12 from aur but i am waiting for an official fix.


edit:

i just opened a bug report :



http://bugs.archlinux.org/task/18095

Last edited by mechmg93 (2010-01-31 20:57:29)


Mikes on AUR

Offline

#8 2010-01-31 21:07:37

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED]libpng12.so.0: cannot openshared object file

really i don't understand why did you open a bug report. is even invalid. lets try to debug why is not working for you.
i'm asking again the list of packages you updated.


Give what you have. To someone, it may be better than you dare to think.

Offline

#9 2010-01-31 21:08:35

guisacouto
Member
From: Portugal
Registered: 2009-06-27
Posts: 107

Re: [SOLVED]libpng12.so.0: cannot openshared object file

how can I post a list of the last updated packages? is there an easy way @wonder?

regards

Offline

#10 2010-01-31 21:11:02

mechmg93
Member
From: Greece
Registered: 2007-05-23
Posts: 197

Re: [SOLVED]libpng12.so.0: cannot openshared object file

wonder wrote:

really i don't understand why did you open a bug report. is even invalid. lets try to debug why is not working for you.
i'm asking again the list of packages you updated.

i, the person who opened the bug report, am not the person who you asked the list, and the reason i opened it , it's because it's a bug. so simple.


Mikes on AUR

Offline

#11 2010-01-31 21:12:53

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED]libpng12.so.0: cannot openshared object file

guisacouto wrote:

how can I post a list of the last updated packages? is there an easy way @wonder?

regards

do a cat /var/log/pacman.log and chose the last updates and paste them to http://pastebin.ca


Give what you have. To someone, it may be better than you dare to think.

Offline

#12 2010-01-31 21:13:45

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED]libpng12.so.0: cannot openshared object file

mechmg93 wrote:
wonder wrote:

really i don't understand why did you open a bug report. is even invalid. lets try to debug why is not working for you.
i'm asking again the list of packages you updated.

i, the person who opened the bug report, am not the person who you asked the list, and the reason i opened it , it's because it's a bug. so simple.

i know. but saying you have the same problem doesn't matter is a bug. maybe both of you having packages unsupported installed.


Give what you have. To someone, it may be better than you dare to think.

Offline

#13 2010-01-31 21:24:22

mechmg93
Member
From: Greece
Registered: 2007-05-23
Posts: 197

Re: [SOLVED]libpng12.so.0: cannot openshared object file

Wonder, if a third and fourth person comes with the same problem, please remember that someone had tried to open a bug report wink


Mikes on AUR

Offline

#14 2010-01-31 21:26:35

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED]libpng12.so.0: cannot openshared object file

mechmg93 wrote:

Wonder, if a third and fourth person comes with the same problem, please remember that someone had tried to open a bug report wink

for 3rd time i say in this post, post some LOGS.


Give what you have. To someone, it may be better than you dare to think.

Offline

#15 2010-01-31 21:28:50

kazuo
Member
From: São Paulo/Brazil
Registered: 2008-03-18
Posts: 413
Website

Re: [SOLVED]libpng12.so.0: cannot openshared object file

mechmg93 wrote:

Wonder, if a third and fourth person comes with the same problem, please remember that someone had tried to open a bug report wink

Your bug report dont have *any* information, so it dont help anyone. First, before posting a bug report, learn how to post bugs reports.

You dont post what exactly program give the error (version, release, repo), if the program is rebuild for libpng14 (something you need to search for), if some patch exists for it. This is all tasks of a bug reporter.

Last edited by kazuo (2010-01-31 21:29:50)

Offline

#16 2010-01-31 21:30:42

mechmg93
Member
From: Greece
Registered: 2007-05-23
Posts: 197

Re: [SOLVED]libpng12.so.0: cannot openshared object file

nope, wonder i will not post logs here and there is one reason :

when some months ago, we were discussing here in the forums the issues with kde and libjpeg7, when the developers moved the package to official repos and everything became a mess, the reply from developers was that there was not a bug report.

So you, the developers of archlinux, should discuss and and decide the method of solving archlinux problem. Until then, the only place i will post logs is the archlinux bug tracker.


Mikes on AUR

Offline

#17 2010-01-31 21:32:36

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED]libpng12.so.0: cannot openshared object file

mechmg93 wrote:

nope, wonder i will not post logs here and there is one reason :

when some months ago, we were discussing here in the forums the issues with kde and libjpeg7, when the developers moved the package to official repos and everything became a mess, the reply from developers was that there was not a bug report.

So you, the developers of archlinux, should discuss and and decide the method of solving archlinux problem. Until then, the only place i will post logs is the archlinux bug tracker.

so lets research a bit more base on you "bug report". what happen is libpng was update to 1.4.0 but chromium didn't. maybe you have chromium from aur(WE CAN'T DO ANYTHING ABOUT IT) or you don't have chromium 4.0.249.78-2 . Reading the latest news, you where advice do wait couples of days.

Last edited by wonder (2010-01-31 21:34:25)


Give what you have. To someone, it may be better than you dare to think.

Offline

#18 2010-01-31 21:35:44

mechmg93
Member
From: Greece
Registered: 2007-05-23
Posts: 197

Re: [SOLVED]libpng12.so.0: cannot openshared object file

[mikes@resilience ~]$pacman -Qs chromium
local/chromium 4.0.249.78-2
    An open-source browser project that aims to build a safer, faster, and more stable way for all users
    to experience the web
[mikes@resilience ~]$pacman -Qs libpng
local/lib32-libpng 1.4.0-1 (lib32)
    A collection of routines used to create PNG format graphics files
local/libpng 1.4.0-2
    A collection of routines used to create PNG format graphics files
[mikes@resilience ~]$

Last edited by mechmg93 (2010-01-31 21:36:09)


Mikes on AUR

Offline

#19 2010-01-31 21:36:52

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED]libpng12.so.0: cannot openshared object file

mechmg93 wrote:

[mikes@resilience ~]$pacman -Qs chromium
local/chromium 4.0.249.78-2
    An open-source browser project that aims to build a safer, faster, and more stable way for all users
    to experience the web
[mikes@resilience ~]$pacman -Qs libpng
local/lib32-libpng 1.4.0-1 (lib32)
    A collection of routines used to create PNG format graphics files
local/libpng 1.4.0-2
    A collection of routines used to create PNG format graphics files
[mikes@resilience ~]$

ok. how about all packages that where updated? i wanna see if cairo was updated. pacman -Qs cairo


Give what you have. To someone, it may be better than you dare to think.

Offline

#20 2010-01-31 21:48:17

mechmg93
Member
From: Greece
Registered: 2007-05-23
Posts: 197

Re: [SOLVED]libpng12.so.0: cannot openshared object file

this was a cairo issue. Solved by reinstalling it. Thanks for the help.

Last edited by mechmg93 (2010-01-31 21:48:32)


Mikes on AUR

Offline

#21 2010-01-31 21:48:57

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED]libpng12.so.0: cannot openshared object file

mechmg93 wrote:

this was a cairo issue. Solved by reinstalling it. Thanks for the help.

[sarcasm]
thank you for posting logs smile and for blaming on us.
[/sarcasm]

Last edited by wonder (2010-01-31 21:52:54)


Give what you have. To someone, it may be better than you dare to think.

Offline

#22 2010-01-31 21:49:56

Varnsen
Member
Registered: 2008-08-24
Posts: 10

Re: [SOLVED]libpng12.so.0: cannot openshared object file

I also had the same problem and fixed it with the libpng12 from AUR

Here is a list of packages that were updated: http://pastebin.ca/1773567

Offline

#23 2010-01-31 21:51:41

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED]libpng12.so.0: cannot openshared object file

Varnsen wrote:

I also had the same problem and fixed it with the libpng12 from AUR

Here is a list of packages that were updated: http://pastebin.ca/1773567

same problem as mechmg93. you are using other cairo package. pacman -Qs cairo.  remove libpng12, rebuild cairo-whatever (look on our PKGBUILD in svn and take the sed line), install it with pacman -U and reinstall gtk2


Give what you have. To someone, it may be better than you dare to think.

Offline

#24 2010-01-31 21:53:29

Varnsen
Member
Registered: 2008-08-24
Posts: 10

Re: [SOLVED]libpng12.so.0: cannot openshared object file

Yep, I understand. I was using cairo-lcd from AUR.

Offline

#25 2010-01-31 21:56:51

guisacouto
Member
From: Portugal
Registered: 2009-06-27
Posts: 107

Re: [SOLVED]libpng12.so.0: cannot openshared object file

the intervals of time are big and the packages werent updated at same time because the mirrors were not fully updated yet so I deleted the lines with:
[2010-01-31 17:28] synchronizing package lists
[2010-01-31 17:28] starting full system upgrade

http://pastebin.ca/1773575

hope it helps

regards

Offline

Board footer

Powered by FluxBB