我使用的是Ubuntu 18.04
我使用buildroot构建了一个mips交叉编译器,但是当我尝试测试它是否有效时,我收到了此消息
/home/daisy/repos/repo/buildroot/output/host/bin/../libexec/gcc/mipsel-buildroot-linux-uclibc/9.3.0/cc1: error while loading shared libraries: libmpfr.so.6: cannot open shared object file: No such file or directory
Run Code Online (Sandbox Code Playgroud)
我搜索了解决方案,其中之一是这样说的:
sudo pacman -S mpfr
Run Code Online (Sandbox Code Playgroud)
嗯,我的 Linux 不是 archlinux,这对我不起作用。有人请告诉我如何处理它。