aarch64-darwin: cannot find libB.dylib
Job #1199520 failed for eda6c05e:
dyld[98210]: Library not loaded: '@rpath/libB.dylib'
Referenced from: '/private/var/folders/0b/dbt6zx8j7h9g60h063lgsm100000hm/T/ghctest-3ekya3ar/test spaces/testsuite/tests/ghci/linking/dyn/T10955dyn.run/bin_dyn/T10955dyn'
Reason: tried: '/usr/local/lib/libB.dylib' (no such file), '/usr/lib/libB.dylib' (no such file)
At #22286 (comment 457582), @angerman suggests this may be a compiler bug: "[it looks like] the compiler does not embed the appropriate path to locate libB.dylib
."
Note: there are confounding factors: there are other issues with the runner that executed this job right now. I am looking to see if I can find more examples of this error. [Edit: I only found two. The other failed job was https://gitlab.haskell.org/ghc/ghc/-/jobs/1199636, also from today and on the same runner.]
Note2: Two more examples, copied from #22542 (closed)