rusty-pi icon indicating copy to clipboard operation
rusty-pi copied to clipboard

"Compiling the compiler" suggestion

Open paigeruten opened this issue 11 years ago • 1 comments

Hello, thanks to your guide "Compiling the compiler" I got a nice RPi Rust cross-compiler working last night. However there was one roadblock that took a while for me to figure out, which was that I had to set LD_LIBRARY_PATH after the installation. I now know that the final output of make install is to tell you to make sure you set your LD_LIBRARY_PATH, but I guess I wasn't paying attention to it at first, and then running rustc gave me a rustc: symbol lookup error: rustc: undefined symbol: _ZN10lang_start20he89a41cbe8ac26fcWjeE error.

So I'd like to suggest adding the setting of LD_LIBRARY_PATH as an explicit step in the instructions, as I think it would help others like me.

paigeruten avatar Jul 27 '14 16:07 paigeruten

This is caused by a recent change in the way the rust compiler works, and I've not updated my instructions to cope with it. I'll update my copy of rustc and fix the instructions. Thanks.

npryce avatar Aug 09 '14 11:08 npryce