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

Questions about Wine on Linux
Locked
invisible kid
Level 5
Level 5
Posts: 354
Joined: Tue Dec 24, 2019 3:23 pm

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

Post by invisible kid »

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 5
Level 5
Posts: 354
Joined: Tue Dec 24, 2019 3:23 pm

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

Post by invisible kid »

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 5
Level 5
Posts: 354
Joined: Tue Dec 24, 2019 3:23 pm

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

Post by invisible kid »

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 5
Level 5
Posts: 354
Joined: Tue Dec 24, 2019 3:23 pm

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

Post by invisible kid »

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 5
Level 5
Posts: 354
Joined: Tue Dec 24, 2019 3:23 pm

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

Post by invisible kid »

Oh, I can try passing --prefix=/usr/local which will be ironic, but might just be crazy enough to work
invisible kid
Level 5
Level 5
Posts: 354
Joined: Tue Dec 24, 2019 3:23 pm

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

Post by invisible kid »

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 5
Level 5
Posts: 354
Joined: Tue Dec 24, 2019 3:23 pm

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

Post by invisible kid »

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 5
Level 5
Posts: 354
Joined: Tue Dec 24, 2019 3:23 pm

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

Post by invisible kid »

Locked