[Bug 57874] New: wineloader no longer able to find ntdll.so
https://bugs.winehq.org/show_bug.cgi?id=57874 Bug ID: 57874 Summary: wineloader no longer able to find ntdll.so Product: Wine Version: 9.12 Hardware: x86-64 OS: MacOS Status: UNCONFIRMED Severity: critical Priority: P2 Component: loader Assignee: wine-bugs(a)winehq.org Reporter: gcenx83(a)gmail.com When attempting to run wine from $PREFIX/bin/wine I'm seeing gcenx(a)MacBook-Pro ~ % wine explorer wine: could not load ntdll.so: dlopen(/Users/gcenx/../lib/wine/x86_64-unix/ntdll.so, 0x0002): tried: '/Users/gcenx/../lib/wine/x86_64-unix/ntdll.so' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/gcenx/../lib/wine/x86_64-unix/ntdll.so' (no such file), '/Users/gcenx/../lib/wine/x86_64-unix/ntdll.so' (no such file) That also affects the symlinks installed into $PREFIX/bin If I run $PREFIX/lib/wine/x86_64-unix/wine that works. If I set export WINEDLLPATH="$PREFIX/lib/wine/x86_64-windows:$PREFIX/lib/wine/i386-windows:$PREFIX/lib/wine/x86_64-unix" wine starts woking again -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57874 Gcenx <gcenx83(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |8c3f205696571558a6fae423143 | |70fbd7cc14a12 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57874 --- Comment #1 from Alexandre Julliard <julliard(a)winehq.org> --- Most likely because macOS will need a proper implementation of get_bindir(). -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57874 --- Comment #2 from Gcenx <gcenx83(a)gmail.com> --- Also if I run $PREFIX/bin/wine that works, but when trying to run wine from $PATH it doesn't work. I'd assume that more or less confirms your suspicion -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57874 Gcenx <gcenx83(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|9.12 |10.2 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57874 Brendan Shanks <bshanks(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bshanks(a)codeweavers.com --- Comment #3 from Brendan Shanks <bshanks(a)codeweavers.com> --- _NSGetExecutablePath() fits the bill, give MR7448 a try: https://gitlab.winehq.org/wine/wine/-/merge_requests/7448 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57874 --- Comment #4 from Gcenx <gcenx83(a)gmail.com> --- (In reply to Brendan Shanks from comment #3)
_NSGetExecutablePath() fits the bill, give MR7448 a try: https://gitlab.winehq.org/wine/wine/-/merge_requests/7448
Did some quick testing and that seems to resolve the bug -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57874 Gijs Vermeulen <gijsvrm(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |024b5b036b08cd5618a5f89ad54 | |b92fd0ebe1c0c Status|UNCONFIRMED |RESOLVED --- Comment #5 from Gijs Vermeulen <gijsvrm(a)gmail.com> --- MR was merged as 024b5b036b08cd5618a5f89ad54b92fd0ebe1c0c, marking FIXED. Feel free to reopen if you can still reproduce. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57874 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #6 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 10.4. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla