Comments (10)
You need to install libsodium 1.0.12
There is PR with updated instruction, https://github.com/hyperledger/indy-sdk/pull/385/files
from indy-sdk.
Corresponded JIRA ticket: https://jira.hyperledger.org/browse/IS-369
from indy-sdk.
Encountered this as well
from indy-sdk.
I receive a similiar error:
error: linking with cc
failed: exit code: 1
|
= note: "cc" "-m64" "-L" "/Users/chdgrgi0/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/chdgrgi0/Documents/private/blockchain/indy-sdk/libindy/target/debug/deps/indy.0.o" "-o" "/Users/chdgrgi0/Documents/private/blockchain/indy-sdk/libindy/target/debug/deps/libindy.dylib" "/Users/chdgrgi0/Documents/private/blockchain/indy-sdk/libindy/target/debug/deps/indy.crate.metadata.o" "/Users/chdgrgi0/Documents/private/blockchain/indy-sdk/libindy/target/debug/deps/indy.crate.allocator.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/Users/chdgrgi0/Documents/private/blockchain/indy-sdk/libindy/target/debug/deps" "-L" "/usr/local/Cellar/openssl/1.0.2m/lib" "-L" "/Users/chdgrgi0/Documents/private/blockchain/indy-sdk/libindy/target/debug/build/libsqlcipher-sys-1a0dfdef2138ecb0/out" "-L" "/usr/local/Cellar/libsodium/1.0.15/lib" "-L" "/Users/chdgrgi0/Documents/private/blockchain/indy-sdk/libindy/target/debug/build/zmq-pw-sys-0112fecc5aaf8b1a/out/pkg/lib" "-L" "/Users/chdgrgi0/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libbase64-b6597d1935c85944.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libopenssl-5e9068149e4c601d.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/librmp_serde-7fed4efbc325c4fa.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/librmp-2a2a8b94fb726ff3.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/librusqlcipher-691adf4abe1efe6a.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/liblibsqlcipher_sys-80fc92ab2d1a6ad1.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libserde_json-e4f80d7ee0ede9dc.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libsodiumoxide-1cdc0f7f784b6550.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/liblibsodium_sys-46285326e005684b.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libhex-ed32fa37440754d5.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libsha3-931833bc5c88cead.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libint_traits-93a7181903304770.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libzmq_pw-1d1147750fe8569d.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libzmq_pw_sys-f14d01c340199597.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libbitflags-2058c092b0790fa0.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libdtoa-c34b2e08148b0fa6.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libopenssl_sys-50d466d27a54868b.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libtime-92efbbde30f4a72a.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libsafemem-e04be0ee5e1a5fbb.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libitoa-afbd2da759043775.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libforeign_types-91bd80bfa1d060d7.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/librust_base58-e4d588350f20ac31.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libnum-b419165156c7bb70.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libnum_rational-2cf90a7f29843877.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libnum_complex-3a23af1f6c42b222.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libnum_iter-51fcea3ccd095b2e.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libnum_bigint-c28a23bb17a11d14.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libnum_integer-dcaeb61bd5e8bcbb.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libnum_traits-48c3cf477b7a0536.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libindy_crypto-a4fdbe9131ca5cef.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libsha2-21c114838c88874b.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libfake_simd-5b5487051a4d3fa8.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libblock_buffer-5828506d081e7865.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libdigest-fbae1a0089388aca.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libgeneric_array-bda11e9e75b89bd4.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libtypenum-c3426a9d9dbe9da6.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libenv_logger-dd8c71b23e66a2e8.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/liblog-d5e360133802934c.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libamcl-6cb50d6a064351f2.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libbyte_tools-d303bf3ee8db3e99.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/librlp-05a322a66706fe15.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libhexutil-3215cae0dcc2ee34.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libelastic_array-9a18edfd56f3b3dd.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/liblru_cache-35c422fb151a6402.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/liblinked_hash_map-4162af34e0c581ca.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libbyteorder-39eaa68e8d1bc140.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libserde-b54b0283b447ca68.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libbitflags-05a76aa5d1c1cf07.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libserde-fd5fc2c9d121670a.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/librustc_serialize-a1a8821bbb1e0027.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libregex-58525377298460f1.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libutf8_ranges-3d4aab68db51c985.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libthread_local-4e0cd51dca21eab7.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/liblazy_static-080bc23484cafa46.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libunreachable-66b4f040a5adc8eb.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libvoid-cd98e6f12047f584.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libaho_corasick-49ac588d74056ee1.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libmemchr-93613fc9ac222a31.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libregex_syntax-20e1a74abf21916b.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libuuid-be0c69ae5c05eb83.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/librand-3d9ae2459e8466ca.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/liblibc-505c1e095e37f76a.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libstd-a4cb6a5cdd439628.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libpanic_unwind-518d4b2a103f523e.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libunwind-ae44887349ff2666.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/liballoc_system-232b33d68f8d8793.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/liblibc-547714683d755c8a.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/liballoc-ee8c941dfe26cb03.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libstd_unicode-ed28cc142b5072c0.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/librand-d0d8801a35685ad6.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libnodrop-8019a514d886524c.rlib" "-Wl,-force_load,/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libcore-2e89074855638f2b.rlib" "/var/folders/bl/8c9n453j0glg84nf0tn9dk740000gn/T/rustc.VLVfNlpfNidS/libcompiler_builtins-3cf04f5feabf9eee.rlib" "-l" "sodium" "-l" "zmq-pw" "-l" "c++" "-l" "ssl" "-l" "crypto" "-l" "System" "-l" "resolv" "-l" "pthread" "-l" "c" "-l" "m" "-dynamiclib" "-Wl,-dylib"
= note: Undefined symbols for architecture x86_64:
"_crypto_stream_aes128ctr_xor", referenced from:
sodiumoxide::crypto::stream::aes128ctr::stream_xor::hb355e452762fc249 in libsodiumoxide-1cdc0f7f784b6550.rlib(sodiumoxide-1cdc0f7f784b6550.0.o)
sodiumoxide::crypto::stream::aes128ctr::stream_xor_inplace::haf5a428a0e4d3a8a in libsodiumoxide-1cdc0f7f784b6550.rlib(sodiumoxide-1cdc0f7f784b6550.0.o)
"_crypto_stream_aes128ctr", referenced from:
sodiumoxide::crypto::stream::aes128ctr::stream::h35020c8b80ef1d7a in libsodiumoxide-1cdc0f7f784b6550.rlib(sodiumoxide-1cdc0f7f784b6550.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)
error: aborting due to previous error
error: Could not compile indy
.
To learn more, run the command again with --verbose.
cargo --version
cargo 0.22.0 (3423351a5 2017-10-06)
uname -mrsa
Darwin MacBook-Pro-5.local 16.7.0 Darwin Kernel Version 16.7.0: Wed Oct 4 00:17:00 PDT 2017; root:xnu-3789.71.6~1/RELEASE_X86_64 x86_64
MacSierra OS Sierra Version 10.12.6
from indy-sdk.
I am not able to successfully build cargo:
I have done these:
cargo --version
cargo 0.23.0 (61fa02415 2017-11-22)
cargo update
cargo clean
cargo build
For this environment on MacOS with High Sierra 10.13.1:
uname -mrsa
Darwin bc-computer.local 17.2.0 Darwin Kernel Version 17.2.0: Fri Sep 29 18:27:05 PDT 2017; root:xnu-4570.20.62~3/RELEASE_X86_64 x86_64
And get these errors: Could a JIRA ticket be opened to resolve. Not able to proceed.
Thanks
bc-computer:libindy mycomp$ cargo build --verbose
Fresh etcommon-hexutil v0.2.3
Fresh serde v1.0.23
Fresh lazy_static v0.2.11
Fresh rustc-serialize v0.3.24
Fresh int_traits v0.1.1
Fresh safemem v0.2.0
Fresh foreign-types-shared v0.1.1
Fresh serde v0.9.15
Fresh bitflags v0.7.0
Fresh fake-simd v0.1.2
Fresh dtoa v0.4.2
Fresh elastic-array-plus v0.9.1
Fresh unicode-xid v0.0.4
Fresh nodrop v0.1.12
Fresh log v0.3.8
Fresh byteorder v1.2.1
Fresh gcc v0.3.54
Fresh void v1.0.2
Fresh cc v1.0.3
Fresh byte-tools v0.2.0
Fresh amcl v0.1.2
Fresh bitflags v0.9.1
Fresh quote v0.3.15
Fresh itoa v0.3.4
Fresh linked-hash-map v0.4.2
Fresh num-traits v0.1.41
Fresh hex v0.2.0
Fresh libc v0.2.34
Fresh error-chain v0.10.0
Fresh regex-syntax v0.4.1
Fresh pkg-config v0.3.9
Fresh toml v0.2.1
Fresh utf8-ranges v1.0.0
Fresh foreign-types v0.3.2
Fresh synom v0.11.3
Fresh etcommon-rlp v0.2.3
Fresh base64 v0.6.0
Fresh unreachable v1.0.0
Fresh lru-cache v0.1.1
Fresh num-complex v0.1.41
Fresh serde_json v1.0.7
Fresh rmp v0.8.7
Fresh num-integer v0.1.35
Fresh memchr v2.0.1
Fresh time v0.1.38
Fresh rand v0.3.18
Fresh metadeps v1.1.2
Fresh typenum v1.9.0
Fresh syn v0.11.11
Fresh thread_local v0.3.4
Fresh rmp-serde v0.13.7
Fresh num-iter v0.1.34
Fresh aho-corasick v0.6.4
Fresh num-bigint v0.1.41
Fresh uuid v0.5.1
Fresh generic-array v0.8.3
Fresh serde_derive_internals v0.17.0
Fresh regex v0.2.3
Fresh num-rational v0.1.40
Fresh openssl-sys v0.9.22
Fresh libsqlcipher-sys v0.8.6
Fresh libsodium-sys v0.0.14
Fresh block-buffer v0.2.0
Fresh digest v0.6.2
Fresh serde_derive v1.0.23
Fresh env_logger v0.4.3
Fresh num v0.1.41
Fresh openssl v0.9.22
Fresh rusqlcipher v0.14.6
Fresh sodiumoxide v0.0.14
Fresh zmq-pw-sys v0.9.8
Fresh sha3 v0.6.0
Fresh sha2 v0.6.0
Fresh rust-base58 v0.0.4
Fresh indy-crypto v0.1.6
Fresh zmq-pw v0.9.8
Compiling indy v1.1.1 (file:///Users/mycomp/indy-sdk/libindy)
Running rustc --crate-name indy src/lib.rs --crate-type staticlib --crate-type rlib --crate-type dylib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="base58_rust_base58"' --cfg 'feature="bn_openssl"' --cfg 'feature="box_sodium"' --cfg 'feature="default"' --cfg 'feature="hash_openssl"' --cfg 'feature="indy-crypto"' --cfg 'feature="int_traits"' --cfg 'feature="local_nodes_pool"' --cfg 'feature="openssl"' --cfg 'feature="pair_amcl"' --cfg 'feature="revocation_tests"' --cfg 'feature="rust-base58"' --cfg 'feature="sealedbox_sodium"' --cfg 'feature="sodiumoxide"' --cfg 'feature="xsalsa20_sodium"' -C metadata=09da55e7d5525c27 --out-dir /Users/mycomp/indy-sdk/libindy/target/debug/deps -L dependency=/Users/mycomp/indy-sdk/libindy/target/debug/deps --extern rusqlcipher=/Users/mycomp/indy-sdk/libindy/target/debug/deps/librusqlcipher-037b2f8131037ceb.rlib --extern rand=/Users/mycomp/indy-sdk/libindy/target/debug/deps/librand-706abc02552fb251.rlib --extern sha2=/Users/mycomp/indy-sdk/libindy/target/debug/deps/libsha2-4638ed48762ddac6.rlib --extern env_logger=/Users/mycomp/indy-sdk/libindy/target/debug/deps/libenv_logger-87b34d829bde174d.rlib --extern libc=/Users/mycomp/indy-sdk/libindy/target/debug/deps/liblibc-b73e05d4592fd20c.rlib --extern digest=/Users/mycomp/indy-sdk/libindy/target/debug/deps/libdigest-374c67471f6f1f16.rlib --extern base64=/Users/mycomp/indy-sdk/libindy/target/debug/deps/libbase64-4c2a8b4fca70172f.rlib --extern serde_json=/Users/mycomp/indy-sdk/libindy/target/debug/deps/libserde_json-ae0bd728ee1646e6.rlib --extern serde_derive=/Users/mycomp/indy-sdk/libindy/target/debug/deps/libserde_derive-43164c98698b38f9.dylib --extern uuid=/Users/mycomp/indy-sdk/libindy/target/debug/deps/libuuid-4e025430de5c7045.rlib --extern hex=/Users/mycomp/indy-sdk/libindy/target/debug/deps/libhex-a9c2f758441549c9.rlib --extern byteorder=/Users/mycomp/indy-sdk/libindy/target/debug/deps/libbyteorder-6fa96fff086350d1.rlib --extern generic_array=/Users/mycomp/indy-sdk/libindy/target/debug/deps/libgeneric_array-f7765d5c561b62da.rlib --extern rmp_serde=/Users/mycomp/indy-sdk/libindy/target/debug/deps/librmp_serde-6984bdc1b3104a13.rlib --extern rust_base58=/Users/mycomp/indy-sdk/libindy/target/debug/deps/librust_base58-1b458e07cebf8a79.rlib --extern zmq_pw=/Users/mycomp/indy-sdk/libindy/target/debug/deps/libzmq_pw-b42f4c3ecf6dc082.rlib --extern time=/Users/mycomp/indy-sdk/libindy/target/debug/deps/libtime-27cc1f8164db5e12.rlib --extern sha3=/Users/mycomp/indy-sdk/libindy/target/debug/deps/libsha3-5833aa6e16adbc4d.rlib --extern indy_crypto=/Users/mycomp/indy-sdk/libindy/target/debug/deps/libindy_crypto-448069323d7f9de6.rlib --extern indy_crypto=/Users/mycomp/indy-sdk/libindy/target/debug/deps/libindy_crypto-448069323d7f9de6.dylib --extern rlp=/Users/mycomp/indy-sdk/libindy/target/debug/deps/librlp-e12f49fb37497ced.rlib --extern log=/Users/mycomp/indy-sdk/libindy/target/debug/deps/liblog-4ee16f7d42e36861.rlib --extern serde=/Users/mycomp/indy-sdk/libindy/target/debug/deps/libserde-fbf053d9d9f95d06.rlib --extern sodiumoxide=/Users/mycomp/indy-sdk/libindy/target/debug/deps/libsodiumoxide-ad04fc26663b60b2.rlib --extern openssl=/Users/mycomp/indy-sdk/libindy/target/debug/deps/libopenssl-98767cbc32fba013.rlib --extern lazy_static=/Users/mycomp/indy-sdk/libindy/target/debug/deps/liblazy_static-68e4452558387eea.rlib --extern int_traits=/Users/mycomp/indy-sdk/libindy/target/debug/deps/libint_traits-b026b29ead4f2ade.rlib -L native=/usr/local/Cellar/openssl/1.0.2l/lib -L native=/Users/mycomp/indy-sdk/libindy/target/debug/build/libsqlcipher-sys-11eb703c8e615ab1/out -L native=/usr/local/Cellar/libsodium/1.0.15/lib -L /Users/mycomp/indy-sdk/libindy/target/debug/build/zmq-pw-sys-c2baa011b0c0dff6/out/pkg/lib
note: link against the following native artifacts when linking against this static library
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 cc
failed: exit code: 1
|
= note: "cc" "-m64" "-L" "/Users/mycomp/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/mycomp/indy-sdk/libindy/target/debug/deps/indy.indy0.rust-cgu.o" "/Users/mycomp/indy-sdk/libindy/target/debug/deps/indy.indy1.rust-cgu.o" "/Users/mycomp/indy-sdk/libindy/target/debug/deps/indy.indy10.rust-cgu.o" "/Users/mycomp/indy-sdk/libindy/target/debug/deps/indy.indy11.rust-cgu.o" "/Users/mycomp/indy-sdk/libindy/target/debug/deps/indy.indy12.rust-cgu.o" "/Users/mycomp/indy-sdk/libindy/target/debug/deps/indy.indy13.rust-cgu.o" "/Users/mycomp/indy-sdk/libindy/target/debug/deps/indy.indy14.rust-cgu.o" "/Users/mycomp/indy-sdk/libindy/target/debug/deps/indy.indy15.rust-cgu.o" "/Users/mycomp/indy-sdk/libindy/target/debug/deps/indy.indy2.rust-cgu.o" "/Users/mycomp/indy-sdk/libindy/target/debug/deps/indy.indy3.rust-cgu.o" "/Users/mycomp/indy-sdk/libindy/target/debug/deps/indy.indy4.rust-cgu.o" "/Users/mycomp/indy-sdk/libindy/target/debug/deps/indy.indy5.rust-cgu.o" "/Users/mycomp/indy-sdk/libindy/target/debug/deps/indy.indy6.rust-cgu.o" "/Users/mycomp/indy-sdk/libindy/target/debug/deps/indy.indy7.rust-cgu.o" "/Users/mycomp/indy-sdk/libindy/target/debug/deps/indy.indy8.rust-cgu.o" "/Users/mycomp/indy-sdk/libindy/target/debug/deps/indy.indy9.rust-cgu.o" "-o" "/Users/mycomp/indy-sdk/libindy/target/debug/deps/libindy.dylib" "/Users/mycomp/indy-sdk/libindy/target/debug/deps/indy.crate.metadata.rust-cgu.o" "/Users/mycomp/indy-sdk/libindy/target/debug/deps/indy.crate.allocator.rust-cgu.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/Users/mycomp/indy-sdk/libindy/target/debug/deps" "-L" "/usr/local/Cellar/openssl/1.0.2l/lib" "-L" "/Users/mycomp/indy-sdk/libindy/target/debug/build/libsqlcipher-sys-11eb703c8e615ab1/out" "-L" "/usr/local/Cellar/libsodium/1.0.15/lib" "-L" "/Users/mycomp/indy-sdk/libindy/target/debug/build/zmq-pw-sys-c2baa011b0c0dff6/out/pkg/lib" "-L" "/Users/mycomp/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/librmp_serde-6984bdc1b3104a13.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/librusqlcipher-037b2f8131037ceb.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libbase64-4c2a8b4fca70172f.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libopenssl-98767cbc32fba013.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libsodiumoxide-ad04fc26663b60b2.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libhex-a9c2f758441549c9.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libsha3-5833aa6e16adbc4d.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libserde_json-ae0bd728ee1646e6.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libint_traits-b026b29ead4f2ade.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libzmq_pw-b42f4c3ecf6dc082.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libbitflags-cce871ad213a8715.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libopenssl_sys-7a78e04ec1f7f99a.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libtime-27cc1f8164db5e12.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libdtoa-636fde8ef195b025.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/librust_base58-1b458e07cebf8a79.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libnum-8f81f79f0ce785aa.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libnum_rational-7179e4a9301e8243.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libnum_iter-541a427eafca61d5.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libnum_bigint-c72641453a627011.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libnum_integer-705370428168df6b.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libindy_crypto-448069323d7f9de6.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libsha2-4638ed48762ddac6.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libfake_simd-ee0482dcf954ab1a.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libblock_buffer-5977e9c0e66ac049.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libdigest-374c67471f6f1f16.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libgeneric_array-f7765d5c561b62da.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libamcl-72f483175585ce4c.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libbyte_tools-339400d8280a895e.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/librlp-e12f49fb37497ced.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libhexutil-bb9382f48e290d4e.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libelastic_array-3e35f765936390df.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/liblru_cache-16a26dbe17de8e43.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/liblinked_hash_map-fefd16a008370d5b.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libsafemem-8f84693e800502bb.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libitoa-4d06d1b695027613.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libforeign_types-90811907636187f5.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libforeign_types_shared-13eff3000ccb97d4.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libserde-4250d67f659820c6.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libuuid-4e025430de5c7045.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/librand-706abc02552fb251.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libnodrop-0797af9f2f9b6a63.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/librmp-08d4a5eb52645264.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/liblibsqlcipher_sys-accfaac6fb115fab.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libbyteorder-6fa96fff086350d1.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libserde-fbf053d9d9f95d06.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libbitflags-4b25c0d30084f3de.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/liblibsodium_sys-5c51dccad8256499.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libnum_complex-b4a27cb9add41b86.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/librustc_serialize-b71f6cede5c344a6.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libnum_traits-e348ee14b3a67576.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libenv_logger-87b34d829bde174d.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libregex-c8d9d93d304faea6.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libutf8_ranges-f1232fbf72bb710d.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libregex_syntax-aa66ff4cdc2a8e0f.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libthread_local-a9444f83e7e12da7.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/liblazy_static-68e4452558387eea.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libunreachable-05f3b7155d4a8c99.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libaho_corasick-d325dd503c61ed6f.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libmemchr-e14e6086e7a78210.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/liblog-4ee16f7d42e36861.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libvoid-8a3d98b0f46a68ec.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libzmq_pw_sys-bd76a00be59d1986.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/liblibc-b73e05d4592fd20c.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libstd-3bdc66d380ab3ae0.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libpanic_unwind-cea338bc19530d4f.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libunwind-ec9c6c2125b5c0ae.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/liballoc_system-6020283742edae37.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/liblibc-b32efaa792018eef.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/liballoc-010885f4927e31a8.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libstd_unicode-d8d07f9be800bfd6.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/librand-a9c96b55be5fbf12.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libtypenum-274502f97b52c423.rlib" "-Wl,-force_load,/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libcore-f4176b2f23d80db2.rlib" "/var/folders/3f/sh6dr8wx6w720b1_w38f_fh00000gq/T/rustc.qMjZTNMaFe6L/libcompiler_builtins-6e4af26e08893557.rlib" "-l" "ssl" "-l" "crypto" "-l" "sodium" "-l" "zmq-pw" "-l" "c++" "-l" "System" "-l" "resolv" "-l" "pthread" "-l" "c" "-l" "m" "-dynamiclib" "-Wl,-dylib"
= note: Undefined symbols for architecture x86_64:
"_crypto_stream_aes128ctr_xor", referenced from:
sodiumoxide::crypto::stream::aes128ctr::stream_xor::h44c2bb8f5f218998 in libsodiumoxide-ad04fc26663b60b2.rlib(sodiumoxide-ad04fc26663b60b2.sodiumoxide0.rust-cgu.o)
sodiumoxide::crypto::stream::aes128ctr::stream_xor_inplace::h538de020b64d5bf1 in libsodiumoxide-ad04fc26663b60b2.rlib(sodiumoxide-ad04fc26663b60b2.sodiumoxide0.rust-cgu.o)
"_crypto_stream_aes128ctr", referenced from:
sodiumoxide::crypto::stream::aes128ctr::stream::hcba54107e5b18ae0 in libsodiumoxide-ad04fc26663b60b2.rlib(sodiumoxide-ad04fc26663b60b2.sodiumoxide0.rust-cgu.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: aborting due to previous error
error: Could not compile indy
.
Caused by:
process didn't exit successfully: rustc --crate-name indy src/lib.rs --crate-type staticlib --crate-type rlib --crate-type dylib --emit=dep-info,link -C debuginfo=2 --cfg feature="base58_rust_base58" --cfg feature="bn_openssl" --cfg feature="box_sodium" --cfg feature="default" --cfg feature="hash_openssl" --cfg feature="indy-crypto" --cfg feature="int_traits" --cfg feature="local_nodes_pool" --cfg feature="openssl" --cfg feature="pair_amcl" --cfg feature="revocation_tests" --cfg feature="rust-base58" --cfg feature="sealedbox_sodium" --cfg feature="sodiumoxide" --cfg feature="xsalsa20_sodium" -C metadata=09da55e7d5525c27 --out-dir /Users/mycomp/indy-sdk/libindy/target/debug/deps -L dependency=/Users/mycomp/indy-sdk/libindy/target/debug/deps --extern rusqlcipher=/Users/mycomp/indy-sdk/libindy/target/debug/deps/librusqlcipher-037b2f8131037ceb.rlib --extern rand=/Users/mycomp/indy-sdk/libindy/target/debug/deps/librand-706abc02552fb251.rlib --extern sha2=/Users/mycomp/indy-sdk/libindy/target/debug/deps/libsha2-4638ed48762ddac6.rlib --extern env_logger=/Users/mycomp/indy-sdk/libindy/target/debug/deps/libenv_logger-87b34d829bde174d.rlib --extern libc=/Users/mycomp/indy-sdk/libindy/target/debug/deps/liblibc-b73e05d4592fd20c.rlib --extern digest=/Users/mycomp/indy-sdk/libindy/target/debug/deps/libdigest-374c67471f6f1f16.rlib --extern base64=/Users/mycomp/indy-sdk/libindy/target/debug/deps/libbase64-4c2a8b4fca70172f.rlib --extern serde_json=/Users/mycomp/indy-sdk/libindy/target/debug/deps/libserde_json-ae0bd728ee1646e6.rlib --extern serde_derive=/Users/mycomp/indy-sdk/libindy/target/debug/deps/libserde_derive-43164c98698b38f9.dylib --extern uuid=/Users/mycomp/indy-sdk/libindy/target/debug/deps/libuuid-4e025430de5c7045.rlib --extern hex=/Users/mycomp/indy-sdk/libindy/target/debug/deps/libhex-a9c2f758441549c9.rlib --extern byteorder=/Users/mycomp/indy-sdk/libindy/target/debug/deps/libbyteorder-6fa96fff086350d1.rlib --extern generic_array=/Users/mycomp/indy-sdk/libindy/target/debug/deps/libgeneric_array-f7765d5c561b62da.rlib --extern rmp_serde=/Users/mycomp/indy-sdk/libindy/target/debug/deps/librmp_serde-6984bdc1b3104a13.rlib --extern rust_base58=/Users/mycomp/indy-sdk/libindy/target/debug/deps/librust_base58-1b458e07cebf8a79.rlib --extern zmq_pw=/Users/mycomp/indy-sdk/libindy/target/debug/deps/libzmq_pw-b42f4c3ecf6dc082.rlib --extern time=/Users/mycomp/indy-sdk/libindy/target/debug/deps/libtime-27cc1f8164db5e12.rlib --extern sha3=/Users/mycomp/indy-sdk/libindy/target/debug/deps/libsha3-5833aa6e16adbc4d.rlib --extern indy_crypto=/Users/mycomp/indy-sdk/libindy/target/debug/deps/libindy_crypto-448069323d7f9de6.rlib --extern indy_crypto=/Users/mycomp/indy-sdk/libindy/target/debug/deps/libindy_crypto-448069323d7f9de6.dylib --extern rlp=/Users/mycomp/indy-sdk/libindy/target/debug/deps/librlp-e12f49fb37497ced.rlib --extern log=/Users/mycomp/indy-sdk/libindy/target/debug/deps/liblog-4ee16f7d42e36861.rlib --extern serde=/Users/mycomp/indy-sdk/libindy/target/debug/deps/libserde-fbf053d9d9f95d06.rlib --extern sodiumoxide=/Users/mycomp/indy-sdk/libindy/target/debug/deps/libsodiumoxide-ad04fc26663b60b2.rlib --extern openssl=/Users/mycomp/indy-sdk/libindy/target/debug/deps/libopenssl-98767cbc32fba013.rlib --extern lazy_static=/Users/mycomp/indy-sdk/libindy/target/debug/deps/liblazy_static-68e4452558387eea.rlib --extern int_traits=/Users/mycomp/indy-sdk/libindy/target/debug/deps/libint_traits-b026b29ead4f2ade.rlib -L native=/usr/local/Cellar/openssl/1.0.2l/lib -L native=/Users/mycomp/indy-sdk/libindy/target/debug/build/libsqlcipher-sys-11eb703c8e615ab1/out -L native=/usr/local/Cellar/libsodium/1.0.15/lib -L /Users/mycomp/indy-sdk/libindy/target/debug/build/zmq-pw-sys-c2baa011b0c0dff6/out/pkg/lib
(exit code: 101)
from indy-sdk.
after this call "cargo clean"
from indy-sdk.
from indy-sdk.
I received the following instructions from Vyacheslav. This resolved the problem.
You need to install libsodium 1.0.12
There is PR with updated instruction, https://github.com/hyperledger/indy-sdk/pull/385/files
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.
bc-computer:libindy mycomp$ brew install libsodium
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
chakra harfbuzz libcdr mapnik pazpar2 tectonic
couchdb hfstospell liblcf mimic pilosa widelands
dwdiff icu4c libmspub mpd s-nail yaz
freeling kops libphonenumber mrboom sile zebra
hadolint krb5 libvisio node tarantool zorba
Warning: libsodium 1.0.15 is already installed
bc-computer:libindy mycomp$ brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/65effd2b617bade68a8a2c5b39e1c3089cc0e945/Formula/libsodium.rb
######################################################################## 100.0%
Error: libsodium 1.0.15 is already installed
To install 1.0.12, first run `brew unlink libsodium`
bc-computer:libindy mycomp$ brew unlink libsodium
Unlinking /usr/local/Cellar/libsodium/1.0.15... 6 symlinks removed
bc-computer:libindy mycomp$ brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/65effd2b617bade68a8a2c5b39e1c3089cc0e945/Formula/libsodium.rb
######################################################################## 100.0%
Warning: libsodium 1.0.15 is available and more recent than version 1.0.12.
==> Downloading https://github.com/jedisct1/libsodium/releases/download/1.0.12/libsodium-1.0.12.tar.gz
==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/7710647/84828ba8-07cf-11e7-815a-bd
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/libsodium/1.0.12
==> make check
==> make install
🍺 /usr/local/Cellar/libsodium/1.0.12: 68 files, 1.2MB, built in 2 minutes 25 seconds
bc-computer:libindy mycomp$ rustup --version
rustup 1.7.0 (813f7b7a8 2017-10-30)
bc-computer:libindy mycomp$ cargo clean
bc-computer:libindy mycomp$ cargo build --verbose
... not including this output but worked successfully.
from indy-sdk.
Updated README merged into master #385
from indy-sdk.
from indy-sdk.
Related Issues (20)
- Failed to open OpenSSL headers on Ubuntu HOT 5
- createPoolLedgerConfig error: PoolLedgerConfigAlreadyExistsError #251 HOT 4
- UnhandledPromiseRejectionWarning: ReferenceError: og is not defined HOT 3
- Running demo reports an error: CommonInvalidState HOT 1
- Unable to complete cargo build release HOT 5
- problem not solved HOT 2
- Arch Linux: Error while building indy-sdk from source HOT 1
- issue in alice and faber example
- Not able to connect to Indy Pool
- when release Indy sdk 1.17
- Can't Indy connection in vs code
- Can't connect to Indy Pool HOT 3
- indy-cli error
- "pool.open_pool_ledger" report a timeout error.
- I cannot find the newly registered DID in the ledger.
- Postgres storage - error under load
- Postgres storage - AWS/RDS concerns
- Trying to install indy sdk on WSL this is what i get with sudo apt-get update HOT 1
- Need the Exact process to install indy-sdk on WSL HOT 1
- Tried installing sdk in windows, got this error in cargo build HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from indy-sdk.