昨天Wifi没配置好,先是dhcp,然后是dns的问题。就准备从PC上下载Nginx Directory (loongnix.cn)上gcc的deb包,通过网线scp拷贝到99Pi上,手动安装。
一通dpkg -i *.deb,结果一堆依赖没解决完,还把apt搞坏了。
现在解决了dhcp和dns的问题,发现apt不能用了,所有apt命令都报:
apt: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory
gcc-8 is successfully installed. But when I tried to compile a simple program, it reports:
root@LoongOS:work# gcc-8 hello.c
/usr/lib/gcc/loongarch64-linux-gnu/8/cc1: error while loading shared libraries: libisl.so.19: cannot open shared object file: No such file or directory