View previous topic :: View next topic |
Author |
Message |
matulik n00b
Joined: 14 Nov 2010 Posts: 19
|
Posted: Mon Jan 27, 2014 8:05 pm Post subject: Steam, L4D2 and libSDL2 error |
|
|
Hello.
I'm trying to run Left 4 Dead 2 by Steam on my gentoo (architecture x86_64).
Another games (Rochard) running fine. I run Steam by optirun (Optimus system on my notebook).
When I try to run L4D2, I get:
Code: |
$ optirun ./hl2.sh
Failed to load the launcher (libSDL2-2.0.so.0: wrong ELF class: ELFCLASS64)
|
I guess that its problem with libraries on 32/64 bit system, but I don't know how to resolve this problem. |
|
Back to top |
|
|
TomWij Retired Dev
Joined: 04 Jul 2012 Posts: 1553
|
Posted: Mon Jan 27, 2014 10:33 pm Post subject: |
|
|
Check how ABI_X86 is set for media-libs/libsdl2 (eg. in `eix media-libs/libsdl2` you can see it near the end of the line); I think 32 might be unset (thus -32), you should try toggling that. (You can for example set abi_x86_32 USE flag on it with package.use). |
|
Back to top |
|
|
hasufell Retired Dev
Joined: 29 Oct 2011 Posts: 429
|
Posted: Wed Jan 29, 2014 3:31 pm Post subject: |
|
|
TomWij wrote: | Check how ABI_X86 is set for media-libs/libsdl2 (eg. in `eix media-libs/libsdl2` you can see it near the end of the line); I think 32 might be unset (thus -32), you should try toggling that. (You can for example set abi_x86_32 USE flag on it with package.use). |
libsdl2 currently does not have multilib support unless you use some hacky overlays
https://bugs.gentoo.org/show_bug.cgi?id=484130 |
|
Back to top |
|
|
TomWij Retired Dev
Joined: 04 Jul 2012 Posts: 1553
|
Posted: Wed Jan 29, 2014 6:18 pm Post subject: |
|
|
Ah, right, I need to have eix split out that information or run eix without checking overlay; thank you for detailing that. |
|
Back to top |
|
|
matulik n00b
Joined: 14 Nov 2010 Posts: 19
|
Posted: Thu Jan 30, 2014 2:44 pm Post subject: |
|
|
So, What I can do to run this game? |
|
Back to top |
|
|
hasufell Retired Dev
Joined: 29 Oct 2011 Posts: 429
|
|
Back to top |
|
|
|