codon icon indicating copy to clipboard operation
codon copied to clipboard

`Symbol not found` error on mac 11.5.1

Open freakynit opened this issue 3 years ago • 1 comments

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))

freakynit avatar Dec 09 '22 04:12 freakynit

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!

tuncaytekle avatar Dec 09 '22 13:12 tuncaytekle

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

arshajii avatar Dec 13 '22 23:12 arshajii

Confirmed that this works. Thank you.

tuncaytekle avatar Dec 14 '22 17:12 tuncaytekle