Wine looking for /usr/bin/../../lib32/wine/ntdll.so

Questions about Wine on Linux
Post Reply
invisible kid
Level 2
Level 2
Posts: 40
Joined: Tue Dec 24, 2019 3:23 pm

Wine looking for /usr/bin/../../lib32/wine/ntdll.so

Post by invisible kid » Wed Jan 06, 2021 9:01 am

Which translates to
/lib32
in the root directory
I can put in a link
cd /; ln -s /usr/lib32
and get over that hump, but then it starts looking for things in /lib64 in the root directory, which already exists, so I'm not touching that
So I removed the link and looking for a fix. I can see in other people's traces that it uses
/usr/bin/../lib32/wine/ntdll.so
instead of
/usr/bin/../../lib32/wine/ntdll.so
So it looks like my system(LFS) is confusing ./configure somehow
Any help appreciated!
I was previously using wine-staging-4.19 which built and installed fine.
Moved to wine-staging-5.20 to avoid world of warcraft cinematic crash.

invisible kid
Level 2
Level 2
Posts: 40
Joined: Tue Dec 24, 2019 3:23 pm

Re: Wine looking for /usr/bin/../../lib32/wine/ntdll.so

Post by invisible kid » Wed Jan 06, 2021 9:06 am

In case it helps, the build and install commands being used(after the staging stuff):

cd /usr/src/wine-5.20
mkdir wine64-build
cd wine64-build

../configure \
--sysconfdir=/etc \
--localstatedir=/var \
--libdir=/usr/lib64 \
--enable-win64 \
--without-gstreamer \
--without-oss \
--without-xrandr \
--without-xxf86vm

make

cd ..
mkdir wine32-build
cd wine32-build

PKG_CONFIG_PATH=/usr/lib32/pkgconfig ../configure \
--sysconfdir=/etc \
--localstatedir=/var \
--libdir=/usr/lib32 \
--without-gstreamer \
--without-oss \
--without-xrandr \
--without-xxf86vm \
--with-wine64=../wine64-build

make

as root

cd /usr/src/wine-5.20/wine32-build
make install

cd /usr/src/wine-5.20/wine64-build
make install

winecfg

invisible kid
Level 2
Level 2
Posts: 40
Joined: Tue Dec 24, 2019 3:23 pm

Re: Wine looking for /usr/bin/../../lib32/wine/ntdll.so

Post by invisible kid » Wed Jan 06, 2021 10:07 am

adding
--prefix=/usr \
to both configure commands causes winecfg to crash on startup
One thing I can think of is I don't use /usr/local on my system, so I have local just redirect to /usr, so I am going to try to remove that link and if wine installs in /usr/local I will just manually move them to /usr, then restore my link after... will update

invisible kid
Level 2
Level 2
Posts: 40
Joined: Tue Dec 24, 2019 3:23 pm

Re: Wine looking for /usr/bin/../../lib32/wine/ntdll.so

Post by invisible kid » Wed Jan 06, 2021 10:30 am

Crap, it did install to /usr/local but after moving them and restoring the link it is still looking in /usr/bin/../../lib32/wine/ntdll.so. I really don't want to start using a /usr/local and am not 100% sure that's the issue, so I am going to investigate. Like I said 4.19 and previous were fine.

invisible kid
Level 2
Level 2
Posts: 40
Joined: Tue Dec 24, 2019 3:23 pm

Re: Wine looking for /usr/bin/../../lib32/wine/ntdll.so

Post by invisible kid » Wed Jan 06, 2021 10:31 am

Oh, I can try passing --prefix=/usr/local which will be ironic, but might just be crazy enough to work

invisible kid
Level 2
Level 2
Posts: 40
Joined: Tue Dec 24, 2019 3:23 pm

Re: Wine looking for /usr/bin/../../lib32/wine/ntdll.so

Post by invisible kid » Wed Jan 06, 2021 10:53 am

Bah, that didn't work either. I am going to fall back to 4.19 staging and forego wow for now. I may submit this as a bug as it used to work in at least 4.19 and previous. All ideas/help are welcome!

invisible kid
Level 2
Level 2
Posts: 40
Joined: Tue Dec 24, 2019 3:23 pm

Re: Wine looking for /usr/bin/../../lib32/wine/ntdll.so

Post by invisible kid » Wed Jan 06, 2021 11:13 am

Confirmed, fresh build and install of 4.19 staging works. I noticed the make install commands run much much longer than the 5.x versions.

invisible kid
Level 2
Level 2
Posts: 40
Joined: Tue Dec 24, 2019 3:23 pm

Re: Wine looking for /usr/bin/../../lib32/wine/ntdll.so

Post by invisible kid » Wed Jan 06, 2021 11:35 am


Post Reply