一、编译报错
libisl.so.19 cannot open shared object file
/opt/linux/x86-arm/aarch64-mix210-linux/host_bin/../libexec/gcc/aarch64-linux-gnu/7.3.0/cc1: error while loading shared libraries: libisl.so.19: cannot open shared object file: No such file or directory
/opt/linux/x86-arm/aarch64-mix210-linux/host_bin/../libexec/gcc/aarch64-linux-gnu/7.3.0/cc1: error while loading shared libraries: libisl.so.19: cannot open shared object file: No such file or directory
二、查找问题
root@mtm-OptiPlex-7000:/# cd lib
root@mtm-OptiPlex-7000:/lib# find -name libisl.so* | xargs ls -l
lrwxrwxrwx 1 root root 16 3月 24 2022 ./x86_64-linux-gnu/libisl.so -> libisl.so.23.1.0
lrwxrwxrwx 1 root root 16 2月 18 2020 ./x86_64-linux-gnu/libisl.so.22 -> libisl.so.22.0.1
-rw-r--r-- 1 root root 1773112 2月 18 2020 ./x86_64-linux-gnu/libisl.so.22.0.1
lrwxrwxrwx 1 root root 16 10月 16 2023 ./x86_64-linux-gnu/libisl.so.23 -> libisl.so.23.1.0
-rw-r--r-- 1 root root 1998584 3月 24 2022 ./x86_64-linux-gnu/libisl.so.23.1.0
查找系统里面的libisl.so 文件,左右23.1.0 的版本
三、解决办法
直接建立软链接即可
cd /lib/x86_64-linux-gnu/
ln -snf libisl.so.23.1.0 libisl.so.19