{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/32917","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/32917/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/32917/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/32917/events","html_url":"https://github.com/rust-lang/rust/issues/32917","id":147881628,"number":32917,"title":"rustc does not allow being run via a symlink","user":{"login":"rkitover","id":77611,"avatar_url":"https://avatars.githubusercontent.com/u/77611?v=3","gravatar_id":"","url":"https://api.github.com/users/rkitover","html_url":"https://github.com/rkitover","followers_url":"https://api.github.com/users/rkitover/followers","following_url":"https://api.github.com/users/rkitover/following{/other_user}","gists_url":"https://api.github.com/users/rkitover/gists{/gist_id}","starred_url":"https://api.github.com/users/rkitover/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkitover/subscriptions","organizations_url":"https://api.github.com/users/rkitover/orgs","repos_url":"https://api.github.com/users/rkitover/repos","events_url":"https://api.github.com/users/rkitover/events{/privacy}","received_events_url":"https://api.github.com/users/rkitover/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-04-12T21:40:37Z","updated_at":"2016-04-16T20:08:50Z","closed_at":null,"body":"To add to #32916, if you install rust with e.g. GNU stow, then /usr/local/bin/rust is a symlink to e.g. /usr/local/stow/rust-git/bin/rustc, but if you do that you get errors like this compiling anything:\r\n\r\n```\r\nerror: can't find crate for `std` [E0463]\r\n```\r\n\r\nSetting:\r\n\r\n```bash\r\nexport RUSTC=/usr/local/stow/rust-git/bin/rustc\r\n```\r\n\r\nfixes the problem for cargo at least."},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/210887314","html_url":"https://github.com/rust-lang/rust/issues/32917#issuecomment-210887314","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/32917","id":210887314,"user":{"login":"petevine","id":12054457,"avatar_url":"https://avatars.githubusercontent.com/u/12054457?v=3","gravatar_id":"","url":"https://api.github.com/users/petevine","html_url":"https://github.com/petevine","followers_url":"https://api.github.com/users/petevine/followers","following_url":"https://api.github.com/users/petevine/following{/other_user}","gists_url":"https://api.github.com/users/petevine/gists{/gist_id}","starred_url":"https://api.github.com/users/petevine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petevine/subscriptions","organizations_url":"https://api.github.com/users/petevine/orgs","repos_url":"https://api.github.com/users/petevine/repos","events_url":"https://api.github.com/users/petevine/events{/privacy}","received_events_url":"https://api.github.com/users/petevine/received_events","type":"User","site_admin":false},"created_at":"2016-04-16T20:08:50Z","updated_at":"2016-04-16T20:08:50Z","body":"Setting `LD_LIBRARY_PATH` to where you moved the `lib` directory doesn't help?"}}