arm架构下启动be失败

【详述】arm架构下启动be失败
【背景】

  1. https://docs.starrocks.io/zh-cn/latest/deployment/prepare_deployment_files 按这个文档操作进行的


  2. 【业务影响】
    【StarRocks版本】例如:2.5.5
    【集群规模】3fe + 3be
    【机器信息】arm
    【联系方式】wangfei@digitforce.com
    【附件】
    报错信息如下:
    [root@arm1 log]# cat be.out
    start time: Thu Jun 8 13:47:35 CST 2023
    /root/be_artifacts/be/lib/starrocks_be: error while loading shared libraries: libbfd-2.38-system.so: cannot open shared object file: No such file or directory
    start time: Thu Jun 8 13:48:31 CST 2023
    /root/be_artifacts/be/lib/starrocks_be: error while loading shared libraries: libbfd-2.38-system.so: cannot open shared object file: No such file or directory
    start time: Thu Jun 8 13:51:36 CST 2023
    /root/be_artifacts/be/lib/starrocks_be: /lib64/libm.so.6: version GLIBC_2.27' not found (required by /root/be_artifacts/be/lib/starrocks_be) /root/be_artifacts/be/lib/starrocks_be: /lib64/libm.so.6: version GLIBC_2.29’ not found (required by /root/be_artifacts/be/lib/starrocks_be)
    /root/be_artifacts/be/lib/starrocks_be: /lib64/libc.so.6: version GLIBC_2.25' not found (required by /root/be_artifacts/be/lib/starrocks_be) /root/be_artifacts/be/lib/starrocks_be: /lib64/libc.so.6: version GLIBC_2.28’ not found (required by /root/be_artifacts/be/lib/starrocks_be)
    /root/be_artifacts/be/lib/starrocks_be: /lib64/libc.so.6: version GLIBC_2.34' not found (required by /root/be_artifacts/be/lib/starrocks_be) /root/be_artifacts/be/lib/starrocks_be: /lib64/libc.so.6: version GLIBC_2.32’ not found (required by /root/be_artifacts/be/lib/starrocks_be)
    /root/be_artifacts/be/lib/starrocks_be: /lib64/libc.so.6: version `GLIBC_2.33’ not found (required by /root/be_artifacts/be/lib/starrocks_be)

请使用starrocks/artifacts-centos7:2.5.5镜像复制对应的编译产物.

请问后面是怎么解决的?

sudo ln -s /usr/lib/x86_64-linux-gnu/libbfd-2.42-system.so /usr/lib/x86_64-linux-gnu/libbfd-2.38-system.so,你先去 /usr/lib/x86_64-linux-gnu/这个目录下看看你libbfd,对应的改下版本加个软连接就行了,如果没有libbfd,就自己装个,如果版本不对就加软连接

好的,后面还是直接用docker拉的镜像