Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error building projects on MacOS 10.15 - Catalina #256

Open
DanXS opened this issue Feb 23, 2024 · 4 comments
Open

Error building projects on MacOS 10.15 - Catalina #256

DanXS opened this issue Feb 23, 2024 · 4 comments

Comments

@DanXS
Copy link

DanXS commented Feb 23, 2024

I'm having trouble running it on an older Mac which can't be upgraded beyond MacOS 10.15 - Catalina, it's an x86 based macbook pro. I think it could be because of an unsupported library. When building generated template with cargo build i get:

error: process didn't exit successfully: `/Users/danshepherd/.rustup/toolchains/esp/bin/rustc -vV` (signal: 6, SIGABRT: process abort signal)
--- stderr
dyld: Symbol not found: __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv
  Referenced from: /Users/danshepherd/.rustup/toolchains/esp/bin/../lib/librustc_driver-0d65bcf01718bf2f.dylib (which was built for Mac OS X 12.0)
  Expected in: /usr/lib/libc++.1.dylib
@SergioGasquez
Copy link
Member

Mind expanding the issue with details? How did you install the toolchain? What are you trying to execute...?

@DanXS
Copy link
Author

DanXS commented Mar 5, 2024

Yes it was just the normal process not from source but it says the library was built for macOS version 12, I think previously Mac OS didn’t include the library.

@DanXS
Copy link
Author

DanXS commented Mar 5, 2024

Unfortunately Apple are a bit vender lock-in, so they don’t update operating systems that aren’t on latest hardware, for example I can’t build iOS apps without a newer Mac. It could be it’s not an issue other than people who don’t have latest hardware won’t be able to use ESP with rust

@SergioGasquez
Copy link
Member

Yes it was just the normal process not from source but it says the library was built for macOS version 12

I'm still not sure of what exactly you were executing? espup install? Looks like the issue is what you described, your hardware is too old and not supported anymore, but let's confirm this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants