Maidsafe_vault can't compile OSX

I’m getting the error: linking with "cc" failed: exit code: 1 when testing maidsafe_vault but have libsodium installed already. I uninstalled and reinstalled to double check with no luck.

OS X 10.10.3
rustc 1.3.0-nightly

Can someone with a Mac check to see if it works for you?

1 Like

Sorry, no Mac person here. But I had quite the same problem on Win7-64. Do you use the Libsodium.a file? That’s what worked for me. At the same time I had to set my path right, seems like you have that problem as well. Seems like RUST/Cargo can’t find the compiler (quite new to this, don’t know for sure).

Hey @ioptio sorry missed this post yesterday, I shall check on a Mac when I get into the office this morning.

OS X 10.10.4 and on latest rust nightly is working in release and debug.
What steps are you following?

Ah… hmm… checking out @polpolrene’s problem in Windows lead me to realise in OS X it’s looking for a directory called lib/x86_64-apple-darwin so I created that and put libsodium.a in there which got me past the error so thanks for that suggestion!

An unrelated problem I’m having gives me this error a lot:
thread '<main>' has overflowed its stack Illegal instruction: 4

I was able to resolve it temporarily a few times by deleting the entire repo and re-cloning it. But now that’s not fixing it.

When I did get past that, I get this error when running cargo test --release:
running 1 test test executable_test ... FAILED failures: ---- executable_test stdout ---- Expecting vault executable at the path of ./target/release/maidsafe_vault ---------- starting node 0 -------------- ---------- starting node 1 -------------- ---------- starting node 2 -------------- ---------- starting node 3 -------------- ---------- starting node 4 -------------- ---------- starting node 5 -------------- ---------- starting node 6 -------------- ---------- starting node 7 -------------- +++++++++++++++++++++++++++++++++++++++ maidsafe_vault 7 has 0 connected connections. +++++++++++++++++++++++++++++++++++++++ maidsafe_vault 6 has 0 connected connections. +++++++++++++++++++++++++++++++++++++++ maidsafe_vault 5 has 0 connected connections. +++++++++++++++++++++++++++++++++++++++ maidsafe_vault 4 has 0 connected connections. +++++++++++++++++++++++++++++++++++++++ maidsafe_vault 3 has 0 connected connections. +++++++++++++++++++++++++++++++++++++++ maidsafe_vault 2 has 0 connected connections. +++++++++++++++++++++++++++++++++++++++ maidsafe_vault 1 has 0 connected connections. +++++++++++++++++++++++++++++++++++++++ Failed to read Bootstrap file : "./maidsafe_vault.bootstrap.cache" ; Error { repr: Os { code: 2, message: "No such file or directory" } } ; Creating New file. ZERO listening on Some(Tcp(V6([::1]:53415))), named ce61e7..52a5a7 Started Membrane loop maidsafe_vault 0 has 0 connected connections. thread 'executable_test' panicked at 'assertion failed: '(left == right)' (left: 'true', right: 'false')', tests/ failures: executable_test test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured thread '<main>' panicked at 'Some tests failed', ../src/libtest/



Cool both of those are current open issues

1 Like