oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one

Home Page:https://bun.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Symbol not found: _ubrk_clone

andoniabedul opened this issue · comments

What version of Bun is running?

1.0.3

What platform is your computer?

Darwin 21.2.0 arm64 arm

What steps can reproduce the bug?

  1. Install with command: curl -fsSL https://bun.sh/install | bash
  2. Run bun --help

Hardware: Macbook Air M1

Run anything that have bun throws an error:

dyld[8734]: Symbol not found: _ubrk_clone
  Referenced from: /Users/user/.bun/bin/bun
  Expected in: /usr/lib/libicucore.A.dylib

What is the expected behavior?

Run the command succesfully

What do you see instead?

dyld[8734]: Symbol not found: _ubrk_clone
Referenced from: /Users/user/.bun/bin/bun
Expected in: /usr/lib/libicucore.A.dylib

Additional information

No response

Please upgrade to macOS 12+

My version of MacOS is 12.1 (sorry for not giving that information on first place). Maybe I need +13, Ventura ?

Unfortunately I went back to version 1.0.2 of Bun.

If the condition is to update Mac OS to 12, it will discourage a lot of people.

Also on MacOS is 12.1, and ran into this install error with bun as well.

I returned to version 1.0.2, to work correctly.

Same here - I get the same error on MacOS 12.1

Installing bun 1.0.2 works, as suggested above

curl -fsSL https://bun.sh/install | bash -s "bun-v1.0.2"
commented

Same here - I get the same error on MacOS 12.1

Installing bun 1.0.2 works, as suggested above

curl -fsSL https://bun.sh/install | bash -s "bun-v1.0.2"

That solved it for me too, thanks!

I wasn't able to upgrade from 1.0.2 using bun upgrade so I manually reinstalled, now running into this error.

My macOS version is 12.2.1

My macos version is 12.1

bun-v1.0.2 works
but bun-v1.0.3, bun-v1.0.5, bun-v1.0.6 all fail for the same reason:

dyld[80227]: Symbol not found: _ubrk_clone


I am developing x-cmd. I really love bun and want to x bun <...> to automatically download bun and run js/ts script everywhere.

In 1st October, x-cmd take v1.0.3 intially as the default version for 'x bun'. It works fine, until today I found it didnot work on my home macbook. Oddly v1.0.3 DOES work in other 5 macbook mac device(arm), and it just crashed in one particular macbook, which I am now using to write the comment.

Both v1.0.5 and v1.0.6 also crash, just like v1.0.3. However, v1.0.2 continues to work. Therefore, I am forced to revert back to v1.0.2 as the default version in x-cmd.

Please inform me if there is anything I can assist with. I will maintain my current setup in case the bun development team requires further information.

commented

此处相同 - 我在 MacOS 12.1 上遇到相同的错误

1.0.2按照上面的建议安装发髻即可

curl -fsSL https://bun.sh/install | bash -s "bun-v1.0.2"

Using this method, I'm done here

my macOS version is 12.1, I have the same trouble with bun version 1.1.26, and bun version 1.0.6 works