You are not logged in.

#1 2010-04-21 14:41:26

mmorckos
Member
From: Egypt
Registered: 2009-07-02
Posts: 20
Website

pacman: error while loading shared libraries: /usr/lib/libz.so.1

After a normal upgrade with pacman (upgraded some tex libraries), when I powered up my machine I cannot start xfce4:  X gives me this error (error while loading shared libraries: /usr/lib/libz.so.1: file too short).

When I try to undo the last update with pacman, I get the same error (pacman: error while loading shared libraries: /usr/lib/libz.so.1: file too short). Now, I cannot do much with pacman out of service. Anybody can help with this weird problem.

I'd really appreciate a prompt response.

Michael

Offline

#2 2010-04-21 14:43:09

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: pacman: error while loading shared libraries: /usr/lib/libz.so.1

How did you upgrade? Post the relevant parts of pacman.log

Offline

#3 2010-04-21 14:54:45

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

Re: pacman: error while loading shared libraries: /usr/lib/libz.so.1

This post should help - different lib, but the same basic issue.

Offline

#4 2010-04-21 14:55:35

mmorckos
Member
From: Egypt
Registered: 2009-07-02
Posts: 20
Website

Re: pacman: error while loading shared libraries: /usr/lib/libz.so.1

The last upgrade which I believe is the problem is zlib 1.2.4-1 -> 1.2.5-1.

Offline

#5 2010-04-21 14:57:02

mmorckos
Member
From: Egypt
Registered: 2009-07-02
Posts: 20
Website

Re: pacman: error while loading shared libraries: /usr/lib/libz.so.1

I forgot to mention that I upgraded after full sync.

Offline

#6 2010-04-21 17:16:54

mmorckos
Member
From: Egypt
Registered: 2009-07-02
Posts: 20
Website

Re: pacman: error while loading shared libraries: /usr/lib/libz.so.1

Thanks tomk! The solution is very effective and fixed the problem completely. [SOLVED]

Offline

#7 2010-04-21 17:28:44

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,967
Website

Re: pacman: error while loading shared libraries: /usr/lib/libz.so.1

This sounds like a filesystem issue. I wonder how you guys always manage to produce these problems. :-)

Did you somehow interrupt the update transaction? Did you have a power loss or crash afterwards? Did you run out of disc space?

Offline

#8 2010-04-21 21:46:29

mmorckos
Member
From: Egypt
Registered: 2009-07-02
Posts: 20
Website

Re: pacman: error while loading shared libraries: /usr/lib/libz.so.1

After recalling what happened, indeed the problem occured because of power loss in mid-upgrade.

Offline

Board footer

Powered by FluxBB