<div dir="ltr"><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi,</div><div><br></div><div>I'm trying to build `lld` on BigSur but it couldn't find /usr/lib/libxml2.dylib</div><div><br></div><div>```</div><div>$ cd llvm-project/build</div><div>$ cmake -G Ninja -DLLVM_ENABLE_PROJECTS='lld' ../llvm/ </div><div>$ ninja lld</div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">ninja: error: '/usr/lib/libxml2.dylib', needed by 'bin/lld', missing and no known rule to make it</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">```</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">Any idea how to resolve this?</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">(I've tried `brew install </span>libxml2` but I couldn't symlink the dylib to /usr/lib because it's read-only and I can't change it on this machine)</div><div><br></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">Thanks,</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">Vy</span></div></div></div></div></div></div></div></div></div></div></div></div></div></div>