Patching interpreter of ELF executables and libraries in /nix/store/dn5ssvfrrm1262mzdfa3dx6zncwjssdw-rust
setting interpreter of /nix/store/dn5ssvfrrm1262mzdfa3dx6zncwjssdw-rust/bin/cargo
setting interpreter of /nix/store/dn5ssvfrrm1262mzdfa3dx6zncwjssdw-rust/bin/cargo-clippy
setting interpreter of /nix/store/dn5ssvfrrm1262mzdfa3dx6zncwjssdw-rust/bin/cargo-fmt
setting interpreter of /nix/store/dn5ssvfrrm1262mzdfa3dx6zncwjssdw-rust/bin/clippy-driver
warning: working around a Linux kernel bug by creating a hole of 1130496 bytes in ā/nix/store/dn5ssvfrrm1262mzdfa3dx6zncwjssdw-rust/bin/clippy-driverā
setting interpreter of /nix/store/dn5ssvfrrm1262mzdfa3dx6zncwjssdw-rust/bin/rls
setting interpreter of /nix/store/dn5ssvfrrm1262mzdfa3dx6zncwjssdw-rust/bin/rustc
warning: working around a Linux kernel bug by creating a hole of 1888256 bytes in ā/nix/store/dn5ssvfrrm1262mzdfa3dx6zncwjssdw-rust/bin/rustcā
setting interpreter of /nix/store/dn5ssvfrrm1262mzdfa3dx6zncwjssdw-rust/bin/rustdoc
warning: working around a Linux kernel bug by creating a hole of 1273856 bytes in ā/nix/store/dn5ssvfrrm1262mzdfa3dx6zncwjssdw-rust/bin/rustdocā
setting interpreter of /nix/store/dn5ssvfrrm1262mzdfa3dx6zncwjssdw-rust/bin/rustfmt
setting interpreter of /nix/store/dn5ssvfrrm1262mzdfa3dx6zncwjssdw-rust/lib/libLLVM-9-rust-1.41.0-nightly.so
cannot find section .interp
setting interpreter of /nix/store/dn5ssvfrrm1262mzdfa3dx6zncwjssdw-rust/lib/librustc_driver-682b082830c1c29f.so
cannot find section .interp
setting interpreter of /nix/store/dn5ssvfrrm1262mzdfa3dx6zncwjssdw-rust/lib/librustc_macros-902e39cc31df3733.so
cannot find section .interp
setting interpreter of /nix/store/dn5ssvfrrm1262mzdfa3dx6zncwjssdw-rust/lib/libstd-353bd06d9817dba2.so
cannot find section .interp
setting interpreter of /nix/store/dn5ssvfrrm1262mzdfa3dx6zncwjssdw-rust/lib/libtest-1abe8a7844ac38e9.so
cannot find section .interp
setting interpreter of /nix/store/dn5ssvfrrm1262mzdfa3dx6zncwjssdw-rust/lib/rustlib/x86_64-unknown-linux-gnu/bin/rust-lld
setting interpreter of /nix/store/dn5ssvfrrm1262mzdfa3dx6zncwjssdw-rust/lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends/librustc_codegen_llvm-llvm.so
cannot find section .interp
setting interpreter of /nix/store/dn5ssvfrrm1262mzdfa3dx6zncwjssdw-rust/lib/rustlib/x86_64-unknown-linux-gnu/lib/libLLVM-9-rust-1.41.0-nightly.so
cannot find section .interp
setting interpreter of /nix/store/dn5ssvfrrm1262mzdfa3dx6zncwjssdw-rust/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-353bd06d9817dba2.so
cannot find section .interp
setting interpreter of /nix/store/dn5ssvfrrm1262mzdfa3dx6zncwjssdw-rust/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-1abe8a7844ac38e9.so
cannot find section .interp
post-installation fixup
And then when I run hc package, I get this error:
[nix-shell:~/my_new_app]$ hc package
/nix/store/2h5dvmcmd885m1h06cxvm2cz3fvzrxzy-rust-1.41.0-nightly-2019-11-15-1bd30ce2a/bin/cargo: 1: Syntax error: ā)ā unexpected
So I donāt know what exact error you are having, but it looks like you are trying to get started with holochain redux, the old version of holochain. Iām just saying this because this old version is now depecrated and everything is moving towards holochain RSM, here is the link to get started:
Although keep in mind, usability in holochain RSM is not great at the moment (there is no CLI or tooling, nor good documentation or tutorials) but all of this is getting ready at the moment.
So thatās a weird error. What platform are you on? Linux is the best supported, I know there have been problems with the other ones.
You can also try installing it without nix-shell, but that would require you to install rust and cargo locally and do cargo install --path crates/holochain inside the repository folder.
It doesnāt seem to matter which flavour of linux I use, the build fails
Trying the same on OpenSuse:
paul@DESKTOP-OBS2054:~/holochain> cargo install --path crates/holochain
Installing holochain v0.0.100 (file:///home/paul/holochain/crates/holochain)
error: failed to compile holochain v0.0.100 (file:///home/paul/holochain/crates/holochain), intermediate artifacts can be found at /home/paul/holochain/target
Caused by:
failed to parse lock file at: /home/paul/holochain/Cargo.lock
Caused by:
invalid serialized PackageId for key package.dependencies
I scrapped WSL and Iāve tried with Ubuntu on a virtual machine. Everything worked and built as should this time - so note to others - WSL does not work at the moment with Holochain.
However, when I run up the Conductor, I get another error - can you help me with this?
[nix-shell:~/holochain]$ holochain -i
[[ -n āā ]]
test -d /home/paul/holochain
test -w /home/paul/holochain
export HC_TARGET_PREFIX=/home/paul/holochain
HC_TARGET_PREFIX=/home/paul/holochain
crate=holochain
shift
cargo run --target-dir=/home/paul/holochain/target --manifest-path=/home/paul/holochain/crates/holochain/Cargo.toml ā -i
Finished dev [unoptimized + debuginfo] target(s) in 1.79s
Running target/debug/holochain -i
Jan 07 18:04:19.282 ERROR lair_keystore_client: error=IpcClientConnectError("/home/paul/.local/share/lair/socket", Os { code: 111, kind: ConnectionRefused, message: āConnection refusedā }) file="/home/paul/holochain/.cargo/registry/src/github.com-1ecc6299db9ec823/lair_keystore_client-0.0.1-alpha.10/src/lib.rs" line=42
Conductor ready.
Actually that error is not really anything bad, itās just saying that the conductor is not finding the lair-keystore and running it on its own. So that conductor ready phrase means everything is working fine, itās ready to be used.
HI I am having problems installing holochain on my MacBook Pro. The installation fails with the error shown below. Any help on how to resolve this problem will be greatly appreciated.
Hey, there is work in progress on Holonix to include Holochain RSM. If you would like to try it out while we progress towards releasing it you can do so using the following command:
$(nix-build https://nightly.holochain.love --no-link -A pkgs.holonix)/bin/holonix