https://bugs.winehq.org/show_bug.cgi?id=47755
--- Comment #18 from Zebediah Figura z.figura12@gmail.com --- (In reply to John from comment #17)
Just a thought about PKG_CONFIG_PATH. When I compile the 32-bit version, one of the steps is to do this:
PKG_CONFIG_PATH=/usr/lib/pkgconfig ../configure --with-wine64=../wine64-build
This is as per the instructions here:
https://wiki.winehq.org/Building_Wine#Shared_WoW64
The path is correct for my system.
Manually overriding PKG_CONFIG_PATH is an old workaround that ideally shouldn't be needed anymore. But if you do, make sure you're pointing to the appropriate architecture, otherwise you'll get nonsense like this and things won't compile...
Anyway, yeah, removing libraries while compiling is liable to trigger errors, so that explains that confusion.