slitaz-toolchain
libmpfr.so.4: cannot open shared object file: No such file or directory
GNU C11 (SliTaz64) version 7.3.0 (x86_64-slitaz-linux)
compiled by GNU C version 7.3.0, GMP version 6.1.2, MPFR version 3.1.5, MPC version 1.0.3, isl version none
warning: MPFR header version 3.1.5 differs from library version 4.0.1.
warning: MPC header version 1.0.3 differs from library version 1.1.0.
1.
root@slitaz:~# echo 'int main() { return 0; }' > test.c
2.
root@slitaz:~# gcc -v -o test.o test.c
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-slitaz-linux/7.3.0/lto-wrapper
Target: x86_64-slitaz-linux
Configured with: ../configure --enable-languages=c,c++,objc,fortran --disable-multilib --disable-bootstrap --with-system-zlib --with-pkgversion=SliTaz64 --build=x86_64-slitaz-linux --host=x86_64-slitaz-linux
Thread model: posix
gcc version 7.3.0 (SliTaz64)
COLLECT_GCC_OPTIONS='-v' '-o' 'test.o' '-mtune=generic' '-march=x86-64'
/usr/libexec/gcc/x86_64-slitaz-linux/7.3.0/cc1 -quiet -v test.c -quiet -dumpbase test.c -mtune=generic -march=x86-64 -auxbase test -version -o /tmp/ccltXq0x.s
/usr/libexec/gcc/x86_64-slitaz-linux/7.3.0/cc1: error while loading shared libraries: libmpfr.so.4: cannot open shared object file: No such file or directory
3.
root@slitaz:~# ls -l /usr/lib/libmpfr*
lrwxrwxrwx 1 root root 16 Nov 24 09:26 /usr/lib/libmpfr.so -> libmpfr.so.6.0.1
lrwxrwxrwx 1 root root 16 Nov 24 09:26 /usr/lib/libmpfr.so.6 -> libmpfr.so.6.0.1
-rwxr-xr-x 1 root root 430480 Aug 11 2018 /usr/lib/libmpfr.so.6.0.1
root@slitaz:~# ln -s /usr/lib/libmpfr.so.6.0.1 /usr/lib/libmpfr.so.4
4.
root@slitaz:~# gcc -v -o test.o test.c
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-slitaz-linux/7.3.0/lto-wrapper
Target: x86_64-slitaz-linux
Configured with: ../configure --enable-languages=c,c++,objc,fortran --disable-multilib --disable-bootstrap --with-system-zlib --with-pkgversion=SliTaz64 --build=x86_64-slitaz-linux --host=x86_64-slitaz-linux
Thread model: posix
gcc version 7.3.0 (SliTaz64)
COLLECT_GCC_OPTIONS='-v' '-o' 'test.o' '-mtune=generic' '-march=x86-64'
/usr/libexec/gcc/x86_64-slitaz-linux/7.3.0/cc1 -quiet -v test.c -quiet -dumpbase test.c -mtune=generic -march=x86-64 -auxbase test -version -o /tmp/cca3awNX.s
GNU C11 (SliTaz64) version 7.3.0 (x86_64-slitaz-linux)
compiled by GNU C version 7.3.0, GMP version 6.1.2, MPFR version 3.1.5, MPC version 1.0.3, isl version none
warning: MPFR header version 3.1.5 differs from library version 4.0.1.
warning: MPC header version 1.0.3 differs from library version 1.1.0.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=65536
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory "/usr/lib/gcc/x86_64-slitaz-linux/7.3.0/../../../../x86_64-slitaz-linux/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/lib/gcc/x86_64-slitaz-linux/7.3.0/include
/usr/lib/gcc/x86_64-slitaz-linux/7.3.0/include-fixed
/usr/include
End of search list.
GNU C11 (SliTaz64) version 7.3.0 (x86_64-slitaz-linux)
compiled by GNU C version 7.3.0, GMP version 6.1.2, MPFR version 3.1.5, MPC version 1.0.3, isl version none
warning: MPFR header version 3.1.5 differs from library version 4.0.1.
warning: MPC header version 1.0.3 differs from library version 1.1.0.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=65536
Compiler executable checksum: e8abc0a243e1de7ed2f388dead27f036
COLLECT_GCC_OPTIONS='-v' '-o' 'test.o' '-mtune=generic' '-march=x86-64'
as -v --64 -o /tmp/cciAhQBR.o /tmp/cca3awNX.s
GNU assembler version 2.29 (x86_64-slitaz-linux) using BFD version (GNU Binutils) 2.29
COMPILER_PATH=/usr/libexec/gcc/x86_64-slitaz-linux/7.3.0/:/usr/libexec/gcc/x86_64-slitaz-linux/7.3.0/:/usr/libexec/gcc/x86_64-slitaz-linux/:/usr/lib/gcc/x86_64-slitaz-linux/7.3.0/:/usr/lib/gcc/x86_64-slitaz-linux/
LIBRARY_PATH=/usr/lib/gcc/x86_64-slitaz-linux/7.3.0/:/usr/lib/gcc/x86_64-slitaz-linux/7.3.0/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-slitaz-linux/7.3.0/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-o' 'test.o' '-mtune=generic' '-march=x86-64'
/usr/libexec/gcc/x86_64-slitaz-linux/7.3.0/collect2 -plugin /usr/libexec/gcc/x86_64-slitaz-linux/7.3.0/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-slitaz-linux/7.3.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccAgm2qL.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o test.o /usr/lib/gcc/x86_64-slitaz-linux/7.3.0/../../../../lib/crt1.o /usr/lib/gcc/x86_64-slitaz-linux/7.3.0/../../../../lib/crti.o /usr/lib/gcc/x86_64-slitaz-linux/7.3.0/crtbegin.o -L/usr/lib/gcc/x86_64-slitaz-linux/7.3.0 -L/usr/lib/gcc/x86_64-slitaz-linux/7.3.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-slitaz-linux/7.3.0/../../.. /tmp/cciAhQBR.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-slitaz-linux/7.3.0/crtend.o /usr/lib/gcc/x86_64-slitaz-linux/7.3.0/../../../../lib/crtn.o
COLLECT_GCC_OPTIONS='-v' '-o' 'test.o' '-mtune=generic' '-march=x86-64'
5.
root@slitaz:~# file test.o
test.o: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, with debug_info, not stripped
root@slitaz:~#