problem with sharing libraries (libatiuki AND libGL.so.1) in linux mint DEBIAN

Added by orestes1986 almost 3 years ago

Hi, I reinstalled my LMDE and though in my old system I could play Ryzom with no issue (using the older drivers I think), in this fresh installation I cannot run it with the proprietary drivers installed (latest update), although the game runs with the open source drivers, but with texture (and I think scaling) issues.
I already tried installing the 32-bit libs (http://dev.ryzom.com/boards/18/topics/3748) that I found on Synaptic, but the error message remained the same:

"[DIRECTORY]/ryzom_client: error while loading shared libraries: libatiuki.so.1: wrong ELF class: ELFCLASS64"

my Graphic Card is an ATI HD6800 series

I would appreciate any help or effort, thank you very much and I hope I 'll see you on Atys soon


Replies (10)

RE: problem with sharing libraries (libatiuki) in linux mint DEBIAN - Added by kervala almost 3 years ago

I suppose you're using the official static 32 bits client, so the error is correct :) You're using a 64 bits driver with a 32 bits application.

So you have to install 32 bits version of your drivers :)

I have no idea how to do that for ATI but with proprietary nVidia drivers, there are both 32 and 64 bits drivers installed.

RE: problem with sharing libraries (libatiuki) in linux mint DEBIAN - Added by orestes1986 almost 3 years ago

thank you kervala, I 'll try it and we 'll see..

thank you any way

RE: problem with sharing libraries (libatiuki) in linux mint DEBIAN - Added by orestes1986 almost 3 years ago

ok, you were right, that fixed it, I only had to include some additional libraries, I found them by searching for "ati 32 bit libraries debian"

So I found that:

http://wiki.debian.org/ATIStream

{sudo apt-get install amd-libopencl1

sudo apt-get install multiarch-support fglrx-glx-ia32
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install amd-libopencl1:i386}

I also had to add "ia32-libs" on another fresh installation..
(http://zeldor.biz/2011/02/64-bit-debian-no-such-file-or-directory/)

thank you vary much again..

RE: problem with sharing libraries (libatiuki) in linux mint DEBIAN - Added by kervala almost 3 years ago

Thanks a lot for your response :)

I suppose it could help people who'll have the same error.

RE: problem with sharing libraries (libatiuki) in linux mint DEBIAN - Added by orestes1986 over 2 years ago

New fresh installation (again 64bits), did ALL of the above (including 32 bit libraries) and still it cannot find this lib: libGL.so.1 => not found, although I can see that I have the library:

$ sudo locate
libGL.so.1
/etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu
/usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1
/usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.2
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2
/usr/lib/x86_64-linux-gnu/libGL.so.1
/usr/lib/x86_64-linux-gnu/fglrx/fglrx-libGL.so.1.2
/usr/lib/x86_64-linux-gnu/fglrx/libGL.so.1

ANY ideas??
Sorry for all the fuss again

RE: problem with sharing libraries (libatiuki AND libGL.so.1) in linux mint DEBIAN - Added by kervala over 2 years ago

Did you install 32 bits version of ATI drivers ? It seams like only 64 bits are present on your system :(

RE: problem with sharing libraries (libatiuki AND libGL.so.1) in linux mint DEBIAN - Added by orestes1986 over 2 years ago

Well, yes, I had them installed already..

But after you pointed out that, I gave it a better look and even though I had the: "*fglrx-glx-ia32*" package installed, in the description it was saying:
"please switch to "*multiarch libgl1-fglrx-glx:i386*""

I thought I had the multiarch ok since I had already run the:

"sudo apt-get install multiarch-support fglrx-glx-ia32
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install amd-libopencl1:i386
"

But, as I saw, the package said that:
"@Run the following commands to install the multiarch library:
  • dpkg --add-architecture i386 ; apt-get update
  • apt-get install libgl1-fglrx-glx:i386@"

So after running this 2 commands, Ryzom started OK (and the "*fglrx-glx-ia32*" package is no longer installed in the Synaptic) :-D

AGAIN thank you kervala

RE: problem with sharing libraries (libatiuki AND libGL.so.1) in linux mint DEBIAN - Added by orestes1986 over 2 years ago

So to sum it up..

To run Ryzom in 64bit Debian with ATI Graphics Card with proprietary drivers (for nVidia you might need to change it a bit {eg: ATI's fglrx -> equivalent nvidia package like }) you have to install the following packages and run the following commands:

sudo apt-get install libxrandr (or something similar like libxrandr2 or libxrandr-dev.. there is also a package called: libxrandr2:i386, you might need it!!?)
sudo apt-get install libstdc++5 (there is libstdc++6 as well, I have that installed too (just to be sure), no problems caused, again there is a package called: libstdc++5:i386 that you might need..

You should run these as well:
sudo apt-get install amd-libopencl1
sudo apt-get install multiarch-support fglrx-glx-ia32
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install amd-libopencl1:i386

Then there is the ia32-libs package which is essential since it is the 32bit libs

And to close it there is this 2 commands that can also been found in the description of fglrx-glx-ia32 and you should run them (that might be new because there was no need for that in my previous installations):

su
dpkg --add-architecture i386 ; apt-get update
apt-get install libgl1-fglrx-glx:i386

Tip: The libgl1-fglrx-glx:i386 package cannot be found in the synaptic so you HAVE to run the commands :-)

To merge the 2 groups of commands..
sudo apt-get install amd-libopencl1
sudo apt-get install multiarch-support
sudo dpkg --add-architecture i386
sudo apt-get update
apt-get install libgl1-fglrx-glx:i386
sudo apt-get install amd-libopencl1:i386

If you still have a problem, you should try to Search for libgl on Synaptic and see what might seem to be appropriate (like libgl1-fglrx-glx:i386 or libfglrx:i386, libglib2.0-0:i386..) NOTE: Do that AFTER you have installed the proprietary drivers

I include a little script that I hope to be fine, it has almost everything that are described in here (libgl things excluded, since, I think, most of it is intsalled with the proprietary drivers (actually I think that this IS the proprietary drivers)).

please run it if you have the proprietary drivers installed first
See you

ryzom32bitLibs.sh (517 Bytes) Magnifier

ryzom32bitLibs.sh - I made some changes, download THIS ONE (616 Bytes) Magnifier

ryzom32bitLibs.sh - I made some changes, download THIS ONE (616 Bytes) Magnifier

RE: problem with sharing libraries (libatiuki AND libGL.so.1) in linux mint DEBIAN - Added by kervala over 2 years ago

Thanks for your solution, I hope it will help other people in the same case :)

RE: problem with sharing libraries (libatiuki AND libGL.so.1) in linux mint DEBIAN - Added by orestes1986 over 2 years ago

No problem, it will definitely help ME for starters, since I use these posts every now and then, whenever I do some fresh installation in my system to see again what I have to do to get things right :-)

See you, and once more thank you for your help!! :-)

(1-10/10)