Wine broke and i have no idea how to fix it

Any time i want to call wine i get this error

wine: could not load ntdll.so: /usr/lib32/libc.so.6: version `GLIBC_2.38' not found (required by /usr/bin/../lib32/wine/i386-unix/ntdll.so)

I tried to reinstall it via pacman, but it had no result. Reinstallation was clear but vain…

Are you missing lib32-glibc for some reason?

$ sudo pacman -Fyx '/usr/lib32/libc.so'

usr/lib32/libc.so is owned by core/lib32-glibc 2.38-7
usr/lib32/libc.so.6 is owned by core/lib32-glibc 2.38-7

Seems like not

$ sudo pacman -Fyx '/usr/lib32/libc.so'
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
usr/lib32/libc.so is owned by core/lib32-glibc 2.38-7
usr/lib32/libc.so.6 is owned by core/lib32-glibc 2.38-7

This updates the database and searches for that string in the db … it does not mean it is installed.

(I included it as a source of information … not as an instruction)

This will search your installed packages…

pacman -Qs lib32-glibc

Sorry, my bad

Yeah, its seems like that, ill try to install em

If it is not installed … it makes me wonder why not, as that package is required by many other packages… from other 32 bit libraries to mesa and wine and steam.

Ok, if im right, it was installed already

$ sudo pacman -Ss lib32-glibc
core/lib32-glibc 2.38-3 [installed: 2.37-2]
    GNU C Library (32-bit)
$ pacman -Qs lib32-glibc
local/lib32-glibc 2.37-2
    GNU C Library (32-bit)

So theres the problem…
You have 2.37-2, while wine is looking for 2.38, and the repos do offer that.

So you are out of date and seemingly in a partial-upgrade state.

Whatever you did to get here … dont do that.

And now … do you updates;

sudo pacman -Syu

PS.

pacman -Ss is a command for search. It does not require sudo.

PPS.

When installing new software you should always sync and update. ex;

sudo pacman -Syu lib32-glibc

Well…

$ sudo pacman -Suy
:: Replace karchive with extra/karchive5? [Y/n] y
... and a lot of same prompts ...

:: jdk-openjdk and jre-openjdk are in conflict

Ill be back soon

And dont skip update announcements (and/or the search button) if you run into problems.

:point_up: This one is over a month old.
Please keep your system up-to-date. Manjaro is a rolling release.
And remember - you should always update before installing new software.
(failing to do this could have been the reason for the original title issue here)

1 Like

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.