[llvm-dev] Can't build lld on BigSur (due to lack of dylibs under /usr/lib/ ) ?
Vy Nguyen via llvm-dev
llvm-dev at lists.llvm.org
Mon Apr 5 19:10:31 PDT 2021
Hi,
I'm trying to build `lld` on BigSur but it couldn't find
/usr/lib/libxml2.dylib
```
$ cd llvm-project/build
$ cmake -G Ninja -DLLVM_ENABLE_PROJECTS='lld' ../llvm/
$ ninja lld
ninja: error: '/usr/lib/libxml2.dylib', needed by 'bin/lld', missing and no
known rule to make it
```
Any idea how to resolve this?
(I've tried `brew install 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)
Thanks,
Vy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210405/3ee28f21/attachment.html>
More information about the llvm-dev
mailing list