Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

I found the solution here:

Or, instead of editing the file ld.so.conf directly, create a file called local.conf in the subdirectory /etc/ld.so.conf.d containing just the line /usr/local/lib. That is,

Contents of /etc/ld.so.conf.d/local.conf:

/usr/lib32

Then run the sudo ldconfig command.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.