Steam, launching Team Fortress 2: libGL.so.1: wrong ELF class: ELFCLASS64

Posted by stefanhgm on Ask Ubuntu See other posts from Ask Ubuntu or by stefanhgm
Published on 2012-11-19T22:14:29Z Indexed on 2012/11/20 17:20 UTC
Read the original article Hit count: 279

Filed under:
|
|

After I got Steam running with the workaround mentioned here, I've got nearly the same problem when launching Team Fortress 2.

After starting it from Steam the "Launcher" pops up and after a few seconds it disappears with the following error in the terminal:

/home/user/Steam/SteamApps/steamuser/Team Fortress 2/hl2_linux: error while loading shared libraries: libGL.so.1: wrong ELF class: ELFCLASS64
Game removed: AppID 440 "Team Fortress 2", ProcID 5299 
saving roaming config store to 'sharedconfig.vdf'
roaming config store 2 saved successfully

Because of the similarity with the workaround I used before, I tried to execute:

export LD_LIBRARY_PATH=/usr/lib32:$LD_LIBRARY_PATH

directly before launching the game, but there is no difference.

© Ask Ubuntu or respective owner

Related posts about 12.10

Related posts about 64-bit