Piccolo: Intel Mac build error caused by meta_parser
I got build errors for both Xcode and CMake builds. The problem is triggered from meta_parser. However, it’s still malfunction after adding permission with chmod +x meta_parser.
The meta_parser crashed because dyld: Library not loaded: @rpath/libclang.dylib
macOS Bigsur 11.6.5 Xcode 13.2.1 CMake 3.23
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 25 (18 by maintainers)
just
cp engine/bin/macOS/libclang.dylib to /usr/local/libit works for meIf you are hasty, you may use this repository. Github Workflow shows “build macos” is passing.
The following command is much better: install_name_tool -rpath “/Users/hywei/Workspace/metaparser-master/Parser/…/3rd_party/LLVM/lib/macOS” ‘@executable_path’ ./engine/bin/macOS/meta_parser’
A pull request has been provided. If you are hasty, you may use this repository first. The github workflow shows “build linux” is passing.
A merge request is provided. If you are hasty, you may use this repository
libc++.1.dylib is missing, I am fixing now
libclang.dylib is on the same path as meta_parser, you can use command:
This works for me.