<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/123579>123579</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
macOS prebuilt binaries cannot use prebuilt `libc++.1.dylib`
</td>
</tr>
<tr>
<th>Labels</th>
<td>
libc++
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
WittonBell
</td>
</tr>
</table>
<pre>
macOS prebuilt binaries cannot use prebuilt `libc++.1.dylib`.
use `otool -L ./clang` to see the report:
```
./clang:
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1336.61.1)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.12)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1600.157.0)
```
it need depend `@rpath/libc++.1.dylib`.
the other prebuilt binaries, such as `dylib`, `executable file`, etc has a same issue.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJysU02L5DgM_TXKxbSRnY_qHHKo2iWnhT30Yc62o6p4cOJgK8XU_PrB1d0U9HwcmoGQQJ70nqQnmZz9ZSUaoD1B-29ldp5jGr545rieKITKxuk2LMb9_yK2RHb3gYX1q0mesnBmXSOLPdMDhA6Dtw70CfRJKjndgrfQoQQ8Ah5LLHQYOcYgnv4TEvToglkv0KHgKDKR4JlEoi0mhrrkQIdvDx4f8a8Q9qDHPSfQY9G5v19umWmRp1dtAfrZxWUz7K0Pnm_iSin7uAolUSLof4TbU6KVH0Bdd7JTUoHufyfy_b23z_BLLZX-A_mH8X1GokOUqj0UtP8wQ8CjZ7ESTWKijdapOAINps3w_MsCHv4VbyLPlH5eh1JG3t0sTC6E74nlN3RI38jtbGwgcfaB3gBiJ2aThRHZLCR8zjvJahrqqa97U9GgDvWh7nrEppoH07Zn86xItS2aSWki1yt1NtY5W_e9q_ygUbeoNCqsERtJHbVntF1DrneNctAgLcYHGcJ1kTFdqrvkoHTdHvoqGEsh369B68cYQOtyHWkoWU92v2RoMPjM-cHDngP9lUup9hSGmXnLZcf1CHq8eJ53K11cij3h-v552lL8So5Bj_c-MujxrZXroH8EAAD__xJ4M1s">