<div><div dir="auto">This makes sense now thank you, I’d still rather see the -rpath behind something like UNIX_LDFLAGS then it could be used for other -rpath configuration for the Unix.so libraries </div></div><div><div dir="auto"><br></div><div dir="auto">For the build directory runs wouldn’t it be better to alter the wine loader wrapper script.</div><div dir="auto"><br></div><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 20, 2021 at 10:02 AM Huw Davies <<a href="mailto:huw@codeweavers.com" target="_blank">huw@codeweavers.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">On Fri, Aug 20, 2021 at 09:45:17AM -0400, Dean Greer wrote:<br>
> This seems strange to me as I don't get this issue. Could this be related to a<br>
> newer version of Apple cctools/Xcode?, could you give an example of what you<br>
> attempt to run and get an issue with not finding ntdll.so?<br>
<br>
This is with the command-line tools from Xcode 9 (32-bit) on Mojave.<br>
<br>
Simply running "./wine notepad" with the current git from the build tree<br>
produces messages like:<br>
0040:err:rpc:rpcrt4_ncacn_np_handoff Failed to retrieve the computer name, error 2<br>
which is due to the ws2_32.so unixlib being unable to load ntdll.so.<br>
<br>
% otool -l dlls/ntdll/ntdll.so<br>
[...]<br>
          cmd LC_ID_DYLIB<br>
      cmdsize 44<br>
         name dlls/ntdll/ntdll.so (offset 24)<br>
[...]<br>
<br>
% otool -l dlls/ws2_32/ws2_32.so<br>
[...]<br>
         cmd LC_LOAD_DYLIB<br>
      cmdsize 44<br>
         name dlls/ntdll/ntdll.so (offset 24)<br>
[...]<br>
<br>
Huw.<br>
</blockquote></div></div>
</div>