Why is deploying a local test cluster on macOS unsuccessful?

This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 部署本地测试集群macOS为啥不成功

| username: linnana

[TiDB Usage Environment] Test/PoC
[TiDB Version]
[Reproduction Path] What operations were performed when the issue occurred
[Encountered Issue: Issue Phenomenon and Impact]
[Resource Configuration]
[Attachments: Screenshots/Logs/Monitoring]

Encountered an error when deploying a single machine on macOS according to the official documentation. Is there a solution?

Error screenshot

| username: linnana | Original post link

I have been unable to successfully install on a single macOS machine. Is it missing dependency components?

| username: zhanggame1 | Original post link

Check if all of these are installed.

| username: zhanggame1 | Original post link

dyld: Symbol not found: ___chkstk_darwin
Search online for this error and see which package is causing the issue.

| username: tidb菜鸟一只 | Original post link

gcc --version
Take a look

| username: 我是咖啡哥 | Original post link

I had no issues with the installation before. It’s an Intel CPU.

| username: redgame | Original post link

Check the Xcode version, and you can also try using an older version.

| username: xingzhenxiang | Original post link

Try the previous version.

| username: 像风一样的男子 | Original post link

There might be compatibility issues with ARM CPUs, right?

| username: linnana | Original post link

It should be an issue with the macOS version. Installing on a single CentOS virtual machine went smoothly.

| username: linnana | Original post link

I think the main reason is that the default value of tidb_distsql_scan_concurrency is 15. When the number of concurrent queries is large, the CPU usage will be high. You can try to reduce this value.

| username: WinterLiu | Original post link

It could be a CPU architecture issue; the new version of Mac uses ARM architecture CPUs.

| username: liuis | Original post link

Just run k8s directly on a Mac, it’s easy and convenient.

| username: Anna | Original post link

It seems like your question is vague, so everyone can only give you vague help.

| username: Jiawei | Original post link

Try switching to root.

| username: linnana | Original post link

Can it run on the older macOS version 10.13.6?

| username: linnana | Original post link

I forgot the root password, how do I reset it?

| username: Billmay表妹 | Original post link

It doesn’t seem to fit.

| username: linnana | Original post link

I don’t know if this version of k8s can run, I’ll find time to try it out.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.