You are not logged in.

#1 2013-05-08 17:14:44

pvaklb
Member
Registered: 2013-05-08
Posts: 4

[SOLVED] Cannot start Gparted due to libpng

Hi everyone,

I installed Gparted but when starting it tell me that

/usr/sbin/gpartedbin: error while loading shared libraries: libpng16.so.16: cannot open shared object file: No such file or directory

Anyone please help me solve this problem.

Last edited by pvaklb (2013-05-09 14:57:13)

Offline

#2 2013-05-08 17:28:35

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Cannot start Gparted due to libpng

Is your system fully up to date?
What's the output of

ls /usr/lib/libpng16.so.16

?

Offline

#3 2013-05-09 14:34:43

pvaklb
Member
Registered: 2013-05-08
Posts: 4

Re: [SOLVED] Cannot start Gparted due to libpng

The output is "ls: cannot access /usr/lib/libpng16.so.16: No such file or directory". I'm upgrading my system. Hope it can solve my problem.

Offline

#4 2013-05-09 14:36:41

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] Cannot start Gparted due to libpng

This is why you don't update your pacman database (-Sy) without doing a full update (-Su or just -Syu).

Offline

#5 2013-05-09 14:51:35

pvaklb
Member
Registered: 2013-05-08
Posts: 4

Re: [SOLVED] Cannot start Gparted due to libpng

Wow, it starts ok now. Thanks for great support of both you.
Scimmia, I don't understand you clearly. Could you explain more? Do I need to do a full update before installing a new software?

Offline

#6 2013-05-09 14:53:57

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Cannot start Gparted due to libpng

pvaklb wrote:

Do I need to do a full update before installing a new software?

Yes!
Running 'pacman -Syu foo' where 'foo' is the new package is fine. pacman will first update your current installation and later install the new package and its dependencies.

Offline

#7 2013-05-09 14:56:01

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [SOLVED] Cannot start Gparted due to libpng

pvaklb wrote:

Do I need to do a full update before installing a new software?

Yes. It may not seem like it, but this is part of of the "partial updates are not supported" rule.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#8 2013-05-09 14:58:40

pvaklb
Member
Registered: 2013-05-08
Posts: 4

Re: [SOLVED] Cannot start Gparted due to libpng

I got it now. Thanks all. Arch community is great.

Offline

Board footer

Powered by FluxBB