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: _ubrk_clone #6035

Open
andoniabedul opened this issue Sep 25, 2023 · 11 comments
Open

Symbol not found: _ubrk_clone #6035

andoniabedul opened this issue Sep 25, 2023 · 11 comments
Labels
bug Something isn't working macOS An issue that occurs on macOS

Comments

@andoniabedul
Copy link

andoniabedul commented Sep 25, 2023

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

@andoniabedul andoniabedul added the bug Something isn't working label Sep 25, 2023
@Jarred-Sumner
Copy link
Collaborator

Please upgrade to macOS 12+

@andoniabedul
Copy link
Author

andoniabedul commented Sep 25, 2023

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

@marcelloinfoweb
Copy link

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.

@Electroid Electroid changed the title After install bun 1.0.3, bun --help throws an error Symbol not found: _ubrk_clone Sep 25, 2023
@Electroid Electroid added the macOS An issue that occurs on macOS label Sep 25, 2023
@rowanc1
Copy link

rowanc1 commented Sep 26, 2023

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

@marcelloinfoweb
Copy link

I returned to version 1.0.2, to work correctly.

@radubrehar
Copy link

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
Copy link

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
Copy link

lukeed commented Oct 17, 2023

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
Copy link

edwinjhlee commented Oct 20, 2023

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
Copy link

yiyi17 commented Oct 20, 2023

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working macOS An issue that occurs on macOS
Projects
None yet
Development

No branches or pull requests