-
Notifications
You must be signed in to change notification settings - Fork 742
Build is failing for Mac OS #295
Comments
Corresponded JIRA ticket: https://jira.hyperledger.org/browse/IS-369 |
Encountered this as well |
I receive a similiar error: error: linking with error: aborting due to previous error error: Could not compile To learn more, run the command again with --verbose. cargo --version uname -mrsa MacSierra OS Sierra Version 10.12.6 |
I am not able to successfully build cargo: I have done these: cargo update For this environment on MacOS with High Sierra 10.13.1: And get these errors: Could a JIRA ticket be opened to resolve. Not able to proceed. Thanksbc-computer:libindy mycomp$ cargo build --verbose note: This list will not be printed by default. Please add --print=native-static-libs if you need this information note: library: ssl note: library: crypto note: library: sodium note: library: zmq-pw note: library: c++ note: library: System note: library: resolv note: library: c note: library: m error: linking with error: aborting due to previous error error: Could not compile Caused by: |
You need to install libsodium 1.0.12 There is PR with updated instruction, https://github.com/hyperledger/indy-sdk/pull/385/files |
after this call "cargo clean" |
Thank you very much!!!
That took care of it. May I suggest that you update the documentation here:
https://github.com/hyperledger/indy-sdk/blob/master/doc/mac-build.md
Where I got instructions on installing on a Mac.
Thanks again.
…On Wed, Dec 6, 2017 at 2:32 AM, Vyacheslav ***@***.***> wrote:
You need to install libsodium 1.0.12
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/
65effd2b617bade68a8a2c5b39e1c3089cc0e945/Formula/libsodium.rb
There is PR with updated instruction, https://github.com/
hyperledger-archives/indy-sdk#385/files
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#295 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AG6NjFT03ZtLXzRC0ezIT5EwZfZFHmMsks5s9lEjgaJpZM4Pto69>
.
|
I received the following instructions from Vyacheslav. This resolved the problem.
And here are the actual steps I executed per Vyacheslav's instructions. Notice that I also had to brew unlink libsodium because the old version was already linked.
|
Updated README merged into master #385 |
Thanks for the update.
…On Fri, Dec 15, 2017 at 10:44 AM, Sergey Minaev ***@***.***> wrote:
Updated README merged into master #385
<#385>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#295 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AG6NjDGkfX639BPsXO11fmFf9rG-hCy6ks5tAqHZgaJpZM4Pto69>
.
|
* Bug Fixed: Enabled disabled tests * Code review fix
* Bug Fixed: Enabled disabled tests * Code review fix Signed-off-by: Andrey Goncharov <andrey.goncharov+it@protonmail.com>
Cargo build is failing for MacOS
error: linking with
cc
failed: exit code: 1note: Undefined symbols for architecture x86_64:
"_je_malloc_usable_size", referenced from:
heapsize::heap_size_of_impl::hd63dce4a1e7de8ce in libheapsize-81e9311798c7d6fb.rlib(heapsize-81e9311798c7d6fb.0.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The text was updated successfully, but these errors were encountered: