opkg update smuki sapisa gcc uz entware.
gcc_8.4.0-5a_armv7-3.2.ipk
^ nestrādā.
[root]# gcc
gcc: error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory
[root]# ldd gcc
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb6e27000)
/opt/lib/ld-linux.so.3 (0xb6f2a000)
libm.so.6 => not found
libgcc_s.so.1 => not found
libc.so.6 => not found
libm.so.6 => not found
libc.so.6 => not found
libgcc_s.so.1 => not found
Risinājums tika atrasts:
[root]# ldd gcc
libstdc++.so.6 => /opt/lib/libstdc++.so.6 (0xb6dc6000)
libm.so.6 => /opt/lib/libm.so.6 (0xb6d01000)
libgcc_s.so.1 => /opt/lib/libgcc_s.so.1 (0xb6ce4000)
libc.so.6 => /opt/lib/libc.so.6 (0xb6ba2000)
/opt/lib/ld-linux.so.3 (0xb6f14000)