Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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: 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:


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 directly, create a file called local.conf in the subdirectory /etc/ containing just the line /usr/local/lib. That is,

Contents of /etc/


Then run the sudo ldconfig command.

share|improve this answer

Your Answer


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.