Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Steam, L4D2 and libSDL2 error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
matulik
n00b
n00b


Joined: 14 Nov 2010
Posts: 19

PostPosted: Mon Jan 27, 2014 8:05 pm    Post subject: Steam, L4D2 and libSDL2 error Reply with quote

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
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Mon Jan 27, 2014 10:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
hasufell
Retired Dev
Retired Dev


Joined: 29 Oct 2011
Posts: 429

PostPosted: Wed Jan 29, 2014 3:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Wed Jan 29, 2014 6:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
matulik
n00b
n00b


Joined: 14 Nov 2010
Posts: 19

PostPosted: Thu Jan 30, 2014 2:44 pm    Post subject: Reply with quote

So, What I can do to run this game?
Back to top
View user's profile Send private message
hasufell
Retired Dev
Retired Dev


Joined: 29 Oct 2011
Posts: 429

PostPosted: Thu Jan 30, 2014 2:55 pm    Post subject: Reply with quote

matulik wrote:
So, What I can do to run this game?

Don't follow wrong suggestions

https://wiki.gentoo.org/wiki/Steam#Steam_runtime

don't deactivate steam runtime
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum