nV News Forums


nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Wrong ELF class: ELFCLASS64 (http://www.nvnews.net/vbulletin/showthread.php?t=204231)

devnull 04-09-13 08:34 PM

Wrong ELF class: ELFCLASS64
I am getting an error message whenever I try to start a 32-bit program that requires OpenGL in Wine, or when I run Skype for Linux. This is the text of the error:


error while loading shared libraries: libGL.so.1: wrong ELF class: ELFCLASS64
A bit of Google searching revealed that this is the result of trying to run a 32-bit application on a 64-bit operating system (in this case, I am running Ubuntu 13.04 64-bit) and that the 32-bit libraries will need to be installed.

Here's the catch: They already ARE installed! I had the installer put them on for me! Believing it to be a symlink issue, I ran the following command:


ln /usr/lib/libGL.so /usr/lib/libGL.so.1
However, that says it cannot create the symlink because the file already exists. I figure this is good, so I'm going to leave it alone. I try to run Skype again. Same issue. So I try to install the NVidia libgl packages manually using this command:


apt-get install libgl1-nvidia-glx
However, that gives me this series of errors:


Package libgl1-nvidia-glx:i386 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libgl1-nvidia-glx:i386' has no installation candidate
This seems to mean that this is an old package that is now deprecated. So now the problem is I have no idea what these libraries are called now. I need to know what they are called now. (I'm using version 310.44 of the driver.)

devnull 04-09-13 09:56 PM

Re: Wrong ELF class: ELFCLASS64
Fixed it. Seems I was a victim of Bug 821100.


Anyways, I installed ia32-libs with this command:


apt-get install ia32-libs
and everything's hunkey-dorey now. :D

All times are GMT -5. The time now is 06:48 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.