You are not logged in.

#1 2012-10-25 20:28:51

tokumei
Member
Registered: 2012-10-25
Posts: 8

[SOLVED] libGL.so.1: wrong ELF class: ELFCLASS32

Whenever I try to use

$ startx

With my ~/.xinitrc file containing:

exec startkde

This error is returned:

Could not open library ksmserver: Cannot load library /usr/lib/libkdeinit4_ksmserver.so: (libGl.so.1: wrong ELF class: ELFCLASS32)

I am using the 64 bit proprietary nvidia driver, but I made sure to select "install 32 bit compatible OpenGL libraries" during the installation process.  What steps could I take to troubleshoot this?    Thanks for any help!

Wow, it was fairly straightforward to solve my issue.  I just needed to use:

# pacman -S nvidia

However, in my case I needed to use this because I had already tryed to install the proprietary driver before:

# pacman -S --force nvidia

Last edited by tokumei (2012-10-25 20:50:06)

Offline

#2 2012-10-25 20:31:20

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] libGL.so.1: wrong ELF class: ELFCLASS32

tokumei wrote:

I am using the 64 bit proprietary nvidia driver, but I made sure to select "install 32 bit compatible OpenGL libraries" during the installation process.  What steps could I take to troubleshoot this?    Thanks for any help!

What installation process? Where did you get these drivers from?

Offline

#3 2012-10-25 20:44:20

tokumei
Member
Registered: 2012-10-25
Posts: 8

Re: [SOLVED] libGL.so.1: wrong ELF class: ELFCLASS32

karol wrote:
tokumei wrote:

I am using the 64 bit proprietary nvidia driver, but I made sure to select "install 32 bit compatible OpenGL libraries" during the installation process.  What steps could I take to troubleshoot this?    Thanks for any help!

What installation process? Where did you get these drivers from?

I downloaded the driver from the nvidia website, and installed them with:

# ./NVIDIA*

I was going to try to use this package from the AUR, but the link under the "Sources" section has a 404 error and I'm also not sure if it would even work with my GTS 450 gpu.

Offline

#4 2012-10-25 20:48:37

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] libGL.so.1: wrong ELF class: ELFCLASS32

I suggest starting with what's in the wiki https://wiki.archlinux.org/index.php/NVIDIA#Installing
It says

For GeForce 2/3/4 MX/Ti series cards [NV11 and NV17-NV28], install nvidia-96xx

You seem to have a new GPU so the nvidia (not nvidia-96xx) package should work.

The wiki also says you should install via pacman rather than from other websites.

Offline

#5 2012-10-25 20:51:03

tokumei
Member
Registered: 2012-10-25
Posts: 8

Re: [SOLVED] libGL.so.1: wrong ELF class: ELFCLASS32

karol wrote:

I suggest starting with what's in the wiki https://wiki.archlinux.org/index.php/NVIDIA#Installing
It says

For GeForce 2/3/4 MX/Ti series cards [NV11 and NV17-NV28], install nvidia-96xx

You seem to have a new GPU so the nvidia (not nvidia-96xx) package should work.

The wiki also says you should install via pacman rather than from other websites.

Thanks!  Everything is working now.

Last edited by tokumei (2012-10-25 20:51:14)

Offline

Board footer

Powered by FluxBB