4 ms·
Has any1 had success compiling it on mac? I get a link error involving libclang. thread 'main' panicked at 'Unable to find libclang: "the `libclang` shar
by dilap 6y ago
Has any1 had success compiling it on mac? I get a link error involving libclang.
thread 'main' panicked at 'Unable to find libclang: "the `libclang` shared library at /usr/local/opt/llvm/lib/libclang.dylib could not be opened: dlopen(/usr/local/opt/llvm/lib/libclang.dylib, 2): Symbol not found: __ZN4llvm11raw_ostream10resetColorEv\n Referenced from: /usr/local/opt/llvm/lib/libclang.dylib\n Expected in: /Users/erin/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/libLLVM.dylib\n in /usr/local/opt/llvm/lib/libclang.dylib"', /Users/erin/.cargo/registry/src/github.com-1ecc6299db9ec823/bindgen-0.55.1/src/lib.rs:1896:31
That's from doing "cargo install pijul --version 1.0.0-alpha".
Bonus question: I'v never seen the notation "[0,n[" to represent a half-open internval before (I've seen "[0,n)"), but it does have a certain logic to it! Is it novel or standard in some places?
- Phlogistique 6y agoYes, it's standard in France at least.
- Phlogistique 6y agoActually, both notations are described by an international standard, according to Wikipedia [1] [1]: https://en.wikipedia.org/wiki/Interval_(mathematics) https://en.wikipedia.org/wiki/Interval_(mathematics)
- dilap 6y agoVery interesting! I'm surprised I've never encountered it before. Thanks for Pijul; I'm super-excited about the possibilities. (Unlike many HN commentators, who are too trapped inside the git way of thinking to realize its limitations ;-) I think your biggest challenge now is going to be everything besides the software itself that makes a project successful: Is the website fast and inviting? Is the software easy to install? Etc. Thanks again & wishing the best for Pijul.
- pmeunier 6y ago> Is the website fast and inviting? Is the software easy to install? Etc. A very gentle way of phrasing this ;-) Thank you. The Nest used to be really fast with the previous Pijul, but I remember the first iteration took a few days of debugging under full load before being stable. I'm not expecting it to be fast until a week or two.
- marci 6y agohttps://discourse.pijul.org/t/build-failure-on-macos-zstd-seekable-io-file/577/2 https://discourse.pijul.org/t/build-failure-on-macos-zstd-se... It looks like you don't have libclang. The required libraries are openssl libsodium llvm(which contains libclang) xxHash zlib zstd libgit2 pkgconfig edit: with nix on macos, this 'should' be enough $ nix-shell -p openssl libsodium llvmPackages.libclang xxHash zlib zstd libgit2 pkgconfig rustc rustfmt cargo darwin.apple_sdk.frameworks.CoreServices darwin.apple_sdk.frameworks.Security darwin.apple_sdk.frameworks.SystemConfiguration [nix-shell] $ cargo install pijul --version 1.0.0-alpha --features git
- dilap 6y agoWell, I think I have it installed (via brew), and the .dylib exists, it's just that doesn't have the spcific mangled symbol Rust is looking for inside the library. Feels like a version mismatch or something. Edit: The nix tip worked; thanks! I've been meaning to try out nix for a while anyway, so this was a nice nudge. :-)
- marton78 6y agoThe notation [0, n[ is standard in Germany.