Closed shirshak55 closed 4 years ago
installing the xcode toolchain should fix this. it includes libLTO.dylib
Thanks :) Didn't realized xcode was needed here :)
@michaeleisel I'm also getting this error. I tried running xcode-select --install
but still getting the same error. Do I need all of xcode? Or is there something else I need? I also tried brew install llvm
but that didn't help.
@FredrikNoren I installed whole Xcode and yes xcode select might not cut it. Apple ecosystem man :(
Ah bummer. Yeah 10gig just to download it is pretty hefty :/
@FredrikNoren yea but you can download it directly there is link in stackoverflow for xip . Apple store downloads like a potato.
perhaps in the future, it'd be beneficial to bundle the dylibs in a .zip? at the moment, you could identify which libraries are loaded, e.g. with otool -l
or DYLD_PRINT_LIBRARIES
, and delete the rest after installing xcode if you really want
it would be better if there was easy way without installing xcode. Xcode takes like 12 hour to download :( Its mostly internet bandwidth issue rather than disk usage. And apple store frequently fails to download we need to go and hunt xip files for installing xcode
the dylibs will always be necessary, but perhaps they can be packaged. in the meantime, you may find the downloads at https://developer.apple.com/download/more/?=xcode more reliable than from the app store app
I am trying to use it for Rust.
I added it in ~/.cargo/config
And as soon as i do
cargo run
it gives errorI am using it after formatting osx is there any other requirement etc it needs?