oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
73.26k stars 2.69k forks source link

Symbol not found: _ubrk_clone #6035

Open andoniabedul opened 12 months ago

andoniabedul commented 12 months ago

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

Jarred-Sumner commented 12 months ago

Please upgrade to macOS 12+

andoniabedul commented 12 months ago

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

marcelloinfoweb commented 12 months ago

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.

rowanc1 commented 12 months ago

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

marcelloinfoweb commented 11 months ago

I returned to version 1.0.2, to work correctly.

radubrehar commented 11 months ago

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"
freeslugs commented 11 months ago

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!

lukeed commented 11 months ago

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

edwinjhlee commented 11 months ago

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.

yiyi17 commented 11 months ago

此处相同 - 我在 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

dvlp123456 commented 2 weeks ago

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