View previous topic :: View next topic |
Author |
Message |
Mgiese Veteran
Joined: 23 Mar 2005 Posts: 1607 Location: indiana
|
Posted: Sat Jun 05, 2021 3:20 pm Post subject: howto obtain a 32bit libc.6.so v 2.33 ? [solved] |
|
|
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
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 |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21606
|
Posted: Sat Jun 05, 2021 4:25 pm Post subject: |
|
|
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 |
|
|
Mgiese Veteran
Joined: 23 Mar 2005 Posts: 1607 Location: indiana
|
Posted: Sat Jun 05, 2021 4:36 pm Post subject: |
|
|
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
Ryzen9 7950x ; Geforce1650 ; kernel 6.5 ; XFCE |
|
Back to top |
|
|
Mgiese Veteran
Joined: 23 Mar 2005 Posts: 1607 Location: indiana
|
Posted: Sat Jun 05, 2021 5:11 pm Post subject: |
|
|
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
Ryzen9 7950x ; Geforce1650 ; kernel 6.5 ; XFCE |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21606
|
Posted: Sat Jun 05, 2021 6:48 pm Post subject: |
|
|
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 |
|
|
|