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

Symbol not found error on mac 11.5.1 #72

Closed
freakynit opened this issue Dec 9, 2022 · 3 comments
Closed

Symbol not found error on mac 11.5.1 #72

freakynit opened this issue Dec 9, 2022 · 3 comments

Comments

@freakynit
Copy link

Hi, downloaded using specified command from readme: /bin/bash -c "$(curl -fsSL https://exaloop.io/install.sh)".

But getting this error while building fibonacci program(from project readme):

➜  tmp codon build -release -exe fib.py
dyld: Symbol not found: __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv
  Referenced from: /Users/freakynit/.codon/lib/codon/libcodonrt.dylib (which was built for Mac OS X 12.0)
  Expected in: /usr/lib/libc++.1.dylib

System:
Mac: 11.5.1 (MacBook Pro (13-inch, 2020, Four Thunderbolt 3 ports))

@tuncaytekle
Copy link

Same here. It specifically says the libcodonrt.dylib was built for 12.0 (my mac does not support 12.0). Is there a way to get a pre-built binary for Mac OS 11.x or do we have to build from source?

Thanks!

arshajii added a commit that referenced this issue Dec 11, 2022
arshajii added a commit that referenced this issue Dec 13, 2022
* Fix #75

* Build on macOS 11 for #72

* Fix #76

* Fix test

* Fix generator example in docs

* Fix Python/Cython packaging; Fix #80

* Fix tests

* Fix tests

* Fix tests

* Fix tests

* Fix syntax

* Fix CI

* Fix CI

* Fix CI; Dominate imported bindings

* Fix CI; Dominate imported bindings

* Fix .gitignore

* Fix tests

* Fix rm command

* Format

* clang-format

* Organize and optimize string formatting

* Fix format error message

Co-authored-by: Ibrahim Numanagić <ibrahimpasa@gmail.com>
@arshajii
Copy link
Contributor

Can you please try with the latest release (v0.15.2)? That one is built on macOS 11.

@tuncaytekle
Copy link

Confirmed that this works. Thank you.

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

No branches or pull requests

3 participants