Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
howto obtain a 32bit libc.6.so v 2.33 ? [solved]
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
Mgiese
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1607
Location: indiana

PostPosted: Sat Jun 05, 2021 3:20 pm    Post subject: howto obtain a 32bit libc.6.so v 2.33 ? [solved] Reply with quote

hi there,

for proton 6.3 i need :

Code:

/home/.../.local/share/Steam/steamapps/common/Proton 6.3/dist/bin/wine: /lib/i386-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /overrides/lib/i386-linux-gnu/libstdc++.so.6)


Code:
/home/priusz/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier/var/deploy-0.20210415.0/files/lib/i386-linux-gnu/libc.so.6
points indeed to : libc-2.28.so

i tried linking it against my local copy /lib/libc.so.6 (2.33.so)

but proton then complains about wrong elf class (64 when 32 is expected)

so my questions now is, how can i get a 32bit version of libc.so.6 (libc-2.33.so) ??


glibc version :
Code:
Installed versions:  2.33(2.2)^t(05:27:06 PM 06/02/2021)(crypt multiarch multilib ssp static-libs -audit -caps -cet -compile-locales -custom-cflags -doc -gd -headers-only -multilib-bootstrap -nscd -profile -selinux -static-pie -suid -systemtap -test -vanilla)


gcc-version :
Code:
sys-devel/gcc-11.1.0:11::gentoo  USE="(cxx) fortran (multilib) nls nptl openmp pch (pie) sanitize ssp (-ada) -custom-cflags -d -debug -doc (-fixed-point) -go -graphite (-hardened) -jit (-libssp) -lto -objc -objc++ -objc-gc -pgo -systemtap -test -valgrind -vanilla -vtv -zstd"


as you can see both of them are installed using the multilib flag, so of course i do expect a 32bit version of libc-2.33.so, but there is none ?!?!

thanks for helping out...
_________________
I do not have a Superman complex, for I am God not Superman :D

Ryzen9 7950x ; Geforce1650 ; kernel 6.5 ; XFCE


Last edited by Mgiese on Sat Jun 05, 2021 5:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21602

PostPosted: Sat Jun 05, 2021 4:25 pm    Post subject: Reply with quote

You should already have a 32-bit glibc. Most likely, you pointed the game to the 64-bit glibc, which is why you got an ELF class mismatch. You probably want /lib32/libc.so.6 or similar. If in doubt, check the list of files installed by glibc.
Back to top
View user's profile Send private message
Mgiese
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1607
Location: indiana

PostPosted: Sat Jun 05, 2021 4:36 pm    Post subject: Reply with quote

i have no lib32 folder at all anymore, "locate libc.so.6" only gets me
Code:

/home/.../.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier/var/deploy-0.20210415.0/files/lib/i386-linux-gnu/libc.so.6
/home/.../.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier/var/deploy-0.20210415.0/files/lib/x86_64-linux-gnu/libc.so.6
/lib.new/libc.so.6
/lib64/libc.so.6



where all except the "i386-linux-gnu/libc.so.6" file are 64bit libs, hence the question how to obtain 32bit libc.6.so v 2.33 ?
_________________
I do not have a Superman complex, for I am God not Superman :D

Ryzen9 7950x ; Geforce1650 ; kernel 6.5 ; XFCE
Back to top
View user's profile Send private message
Mgiese
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1607
Location: indiana

PostPosted: Sat Jun 05, 2021 5:11 pm    Post subject: Reply with quote

lib32 is in profile 17.1 on /lib

https://forums.gentoo.org/viewtopic-p-8619612.html

after deleting the symlink lib-->lib.new and renaming lib.new to lib, the mentioned glibc-2.33 is being found...

thanks
_________________
I do not have a Superman complex, for I am God not Superman :D

Ryzen9 7950x ; Geforce1650 ; kernel 6.5 ; XFCE
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21602

PostPosted: Sat Jun 05, 2021 6:48 pm    Post subject: Reply with quote

Right. Since you originally said you linked to /lib/libc.so.6 and that produced an elf class error, I interpreted that to mean you were still on the profile 17.0. If you were on 17.1, linking to /lib/libc.so.6 as you originally did should have worked.
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