You are not logged in.

#1 2008-08-01 00:29:01

violagirl23
Member
Registered: 2008-01-24
Posts: 184

lib32-zlib?

Has lib32-zlib recently been removed from the community repo? I can't find it, but a lot of my programs sure seem to need it. Skype won't even start after a world update, with this error:

skype: error while loading shared libraries: libz.so.1: wrong ELF class: ELFCLASS64

I have found a package build about the middle of this thread:http://bbs.archlinux.org/viewtopic.php?id=36662

but that doesn't change the fact that I can no longer find the package in the repos anymore! Was it taken out on purpose?


"You can't just ask to borrow somebody else's lampshade. It's AWKWARD!"

Offline

#2 2008-08-01 00:32:02

heleos
Member
From: Maine, USA
Registered: 2007-04-24
Posts: 678

Re: lib32-zlib?

heleos@erebus ~ % yaourt -Ss lib32-zlib
community/lib32-zlib 1.2.3.3-2 [installed]
    A compression/decompression Library

Offline

#3 2008-08-01 00:38:36

violagirl23
Member
Registered: 2008-01-24
Posts: 184

Re: lib32-zlib?

Mine claimed to be there too. But try actually looking it up on the Arch website.. you won't find anything.


"You can't just ask to borrow somebody else's lampshade. It's AWKWARD!"

Offline

#4 2008-08-01 00:42:44

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: lib32-zlib?

It's still in the ABS tree on my machine:

# $Id: PKGBUILD,v 1.8 2008/07/18 17:35:34 Neverth Exp $
# Contributor: Pierre Schmitz <pierre@archlinux.de>
# Maintainer: Mikko Seppälä <t-r-a-y@mbnet.fi>
_pkgsourcename=zlib
pkgname=lib32-$_pkgsourcename
pkgver=1.2.3.3
pkgrel=2
pkgdesc="A compression/decompression Library"
url="http://www.gzip.org/zlib"
license=('custom:zlib')
arch=(x86_64)
groups=('lib32')
depends=('lib32-glibc')
source=(ftp://ftp.archlinux.org/core/os/i686/$_pkgsourcename-$pkgver-$pkgrel-i686.pkg.tar.gz)
md5sums=('22d3f501d04f0d8d63f89b20f6523eee')

build() {
    cd $startdir/src
    mkdir -p $startdir/pkg/opt/lib32/usr/lib
#        mkdir -p $startdir/pkg/opt/lib32/lib
    cp -dp usr/lib/*.so* $startdir/pkg/opt/lib32/usr/lib
# 1.2.3.3 does not have stuff in /lib, keep in comments
#        cp -dp lib/*.so* $startdir/pkg/opt/lib32/lib
}

Offline

#5 2008-08-01 01:00:20

violagirl23
Member
Registered: 2008-01-24
Posts: 184

Re: lib32-zlib?

Aw. =.= Even if it is missing, my Skype isn't working regardless. I definitely have a 32 bit libz.so.1 in numerous places, but it is isn't finding them for some reason. sad


"You can't just ask to borrow somebody else's lampshade. It's AWKWARD!"

Offline

#6 2008-08-01 01:02:59

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: lib32-zlib?

violagirl23 wrote:

Aw. =.= Even if it is missing, my Skype isn't working regardless. I definitely have a 32 bit libz.so.1 in numerous places, but it is isn't finding them for some reason. sad

Is it totally not working or is it hanging up at launch? I ask because it took about two minutes for me to connect earlier.

Offline

#7 2008-08-01 01:05:39

violagirl23
Member
Registered: 2008-01-24
Posts: 184

Re: lib32-zlib?

Just not working. It's only finding the 64 bit libz.so.1 and not the 32 bit one:

skype: error while loading shared libraries: libz.so.1: wrong ELF class: ELFCLASS64

*sigh* I am paying for putting this update off so long.

Last edited by violagirl23 (2008-08-01 04:20:11)


"You can't just ask to borrow somebody else's lampshade. It's AWKWARD!"

Offline

#8 2008-08-01 01:23:32

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: lib32-zlib?

Do you have these three in /etc/ld.so.conf?

/opt/lib32/lib
/opt/lib32
/opt/lib32/usr/lib

I think I had to add the last one after a recent update. If you don't, add it, then as usual sudo ldconfig.

Last edited by skottish (2008-08-01 01:23:53)

Offline

#9 2008-08-01 01:27:51

violagirl23
Member
Registered: 2008-01-24
Posts: 184

Re: lib32-zlib?

I had /opt/lib32/lib listed like 3 times so I deleted all but one. I did have to add /opt/lib32 though. When I run ldconfig (as root)... it just says Aborted. But nothing changes when I try to run Skype..  it still doesn't work.


"You can't just ask to borrow somebody else's lampshade. It's AWKWARD!"

Offline

#10 2008-08-01 01:29:09

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: lib32-zlib?

It's the third one that should find the library.

Offline

#11 2008-08-01 01:29:49

violagirl23
Member
Registered: 2008-01-24
Posts: 184

Re: lib32-zlib?

Yes, I had that one listed as well. Is ldconfig SUPPOSED to say Aborted, btw? Seems like a thing you'd say when FAILING to do something properly.


"You can't just ask to borrow somebody else's lampshade. It's AWKWARD!"

Offline

#12 2008-08-01 01:38:03

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: lib32-zlib?

violagirl23 wrote:

Yes, I had that one listed as well. Is ldconfig SUPPOSED to say Aborted, btw? Seems like a thing you'd say when FAILING to do something properly.

No. If it was successful it should return nothing:

[skottish@iasE ~]$ sudo ldconfig
[skottish@iasE ~]$

Offline

#13 2008-08-01 02:12:58

violagirl23
Member
Registered: 2008-01-24
Posts: 184

Re: lib32-zlib?

Oh dear. So even ldconfig isn't working right. Everything's all messed up. >.> Would there be any way to debug it to discover why it is aborting?

Last edited by violagirl23 (2008-08-01 03:02:56)


"You can't just ask to borrow somebody else's lampshade. It's AWKWARD!"

Offline

#14 2008-08-01 03:06:20

violagirl23
Member
Registered: 2008-01-24
Posts: 184

Re: lib32-zlib?

Aha!

root /etc/pm/sleep.d # ldconfig -v
ldconfig: Can't stat /emul/linux/x86/usr/qt/3/lib: No such file or directory
ldconfig: Can't stat /usr/lib64: No such file or directory
Aborted

O_____O Oh dear. I have no clue how to fix this. *shakes head*

I removed /emul/linux/x86/usr/qt/3/lib from the list, but /usr/lib64 isn't on the list to remove. But it's true... the directory does not exist. If I make the directory and run ldconfig -v, it still aborts, but with no messages. @_@ ACK!

Last edited by violagirl23 (2008-08-01 03:46:23)


"You can't just ask to borrow somebody else's lampshade. It's AWKWARD!"

Offline

Board footer

Powered by FluxBB