From b4d76b68103ba4647cd0f7934522e67455445271 Mon Sep 17 00:00:00 2001 From: Cyryl Plotnicki-Chudyk Date: Sat, 1 Aug 2015 07:22:11 +0200 Subject: [PATCH] added LD_LIBRARY_PATH exports to fix rustc issues on Fedora --- .zshrc | 3 +++ common/configure_fresh_system | 1 + 2 files changed, 4 insertions(+) diff --git a/.zshrc b/.zshrc index d17e17cb..456c9d6a 100644 --- a/.zshrc +++ b/.zshrc @@ -54,3 +54,6 @@ export RUST_SRC_PATH=$HOME/dev/rust/src export EDITOR="vim" export KEYTIMEOUT=1 +#temporary fix for rustc [https://github.com/rust-lang/rust-installer/issues/30], for Fedora only +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib + diff --git a/common/configure_fresh_system b/common/configure_fresh_system index f2bbf255..efca32b4 100755 --- a/common/configure_fresh_system +++ b/common/configure_fresh_system @@ -55,6 +55,7 @@ fc-cache #rust echo "installing rust" curl -sSf https://static.rust-lang.org/rustup.sh | bash -s -- -y +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib cd "$DIR/.vim/bundle/racer/" cargo build cd "$DIR/../"