You are not logged in.

#1 2008-01-21 14:44:06

Archerbee
Member
Registered: 2007-10-17
Posts: 75
Website

./lib/uplink.bin.x86: error while loading shared libraries: libGL.so.1

Hey guys!I tried to install Uplink(that's a game http://en.wikipedia.org/wiki/Uplink_%28 … ame%29)but i get this error message...

./lib/uplink.bin.x86: error while loading shared libraries: libGL.so.1

I searched google and i found this that could help in the ubuntu forums... http://ubuntuforums.org/showthread.php?t=474790

Is there something like this for Arch too or something else that might help?Thanks:)

Last edited by Archerbee (2008-01-21 16:16:59)

Offline

#2 2008-01-21 15:24:24

kappa
Member
Registered: 2006-11-10
Posts: 26

Re: ./lib/uplink.bin.x86: error while loading shared libraries: libGL.so.1

32 bit libraries for Arch64 are available from the community repo ("pacman -Ss lib32" for a list).
Depending on your setup you either need lib32-nvidia-utils (Nvidia proprietary driver), lib32-ati-fglrx-utils (ATI  proprietary driver), or lib32-libgl (Intel and other free drivers).

Offline

#3 2008-01-21 16:18:34

Archerbee
Member
Registered: 2007-10-17
Posts: 75
Website

Re: ./lib/uplink.bin.x86: error while loading shared libraries: libGL.so.1

Oops,sorry people!Hadn't wrote the complete error...That is:

./lib/uplink.bin.x86: error while loading shared libraries: libGL.so.1: wrong ELF class: ELFCLASS64

Tried what kappa said with lib32-nvidia-utils though but same...Any other ideas?

Last edited by Archerbee (2008-01-21 17:13:27)

Offline

#4 2008-01-21 17:59:13

kappa
Member
Registered: 2006-11-10
Posts: 26

Re: ./lib/uplink.bin.x86: error while loading shared libraries: libGL.so.1

My fault. I forgot to mention that the location of the 32 bit libraries needs to be added to the library path.
You can either start Uplink with:
LD_LIBRARY_PATH=/opt/lib32/lib:/opt/lib32/usr/lib ./uplink
Or you can add them permanently to the path by adding /opt/lib32/lib and /opt/lib32/usr/lib to /etc/ld.so.conf. Run ldconfig afterwards to update the library cache.
Checking my copy of Uplink, it also needs lib32-libjpeg and lib32-zlib installed.

Last edited by kappa (2008-01-21 18:00:25)

Offline

#5 2008-01-21 18:17:46

Archerbee
Member
Registered: 2007-10-17
Posts: 75
Website

Re: ./lib/uplink.bin.x86: error while loading shared libraries: libGL.so.1

Just opened /etc/ld.so.conf but /opt/lib32/lib and /opt/lib32/usr/lib are already in there...
Tried also LD_LIBRARY_PATH=/opt/lib32/lib:/opt/lib32/usr/lib ./uplink but:

./lib/uplink.bin.x86: error while loading shared libraries: libGLU.so.1: wrong ELF class: ELFCLASS64

sad

Last edited by Archerbee (2008-01-21 19:34:28)

Offline

#6 2008-01-21 19:36:25

Archerbee
Member
Registered: 2007-10-17
Posts: 75
Website

Re: ./lib/uplink.bin.x86: error while loading shared libraries: libGL.so.1

Something else to try?!? sad

Offline

#7 2008-01-21 20:01:29

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: ./lib/uplink.bin.x86: error while loading shared libraries: libGL.so.1

install lib32-mesa

if you get other similar error message, find what x86_64 package provides the library and install its lib32- version from community.

Offline

#8 2008-01-21 20:16:57

Archerbee
Member
Registered: 2007-10-17
Posts: 75
Website

Re: ./lib/uplink.bin.x86: error while loading shared libraries: libGL.so.1

You were right!Just did "pacman -S lib32",downloaded all the packages and now everything works fine!Thanks...

By the way uplink is great... wink

Offline

Board footer

Powered by FluxBB