Hi Steven,

configure:2979: checking whether the C compiler works
configure:3001: gcc    conftest.c  >&5
/home/iulius/autobuild/bin/gcc-6.3.0/libexec/gcc/x86_64-pc-linux-gnu/6.3.0/cc1:
error while loading shared libraries: libmpc.so.3: cannot open shared
object file: No such file or directory

$ ldd
/home/iulius/autobuild/bin/gcc-6.3.0/libexec/gcc/x86_64-pc-linux-gnu/6.3.0/cc1
        linux-vdso.so.1 =>  (0x00007ffff7ffc000)
        libmpc.so.3 => not found
        libmpfr.so.4 => not found
        libgmp.so.10 => not found
        libdl.so.2 => /lib/libdl.so.2 (0x00007ffff7bde000)
        libm.so.6 => /lib/libm.so.6 (0x00007ffff795b000)
        libc.so.6 => /lib/libc.so.6 (0x00007ffff7608000)
        /lib64/ld-linux-x86-64.so.2 (0x00007ffff7de2000)

Hunting around the above path, I found
/home/iulius/autobuild/bin/mpc-1.0.3/lib/libmpc.so.3

but, is there a cleaner way to set up my path? Am I doing something else
wrong?

Would the following commands work for you?

CC=/opt/cfarm/gcc-latest/bin/gcc
LD_LIBRARY_PATH=/opt/cfarm/mpfr-latest/lib:/opt/cfarm/mpc-latest/lib:/opt/cfarm/gmp-latest/lib
export CC
export LD_LIBRARY_PATH
./configure

--
Julien ÉLIE

« Ce n'est pas en tournant le dos aux choses qu'on leur fait face. »
  (Pierre Dac)

_______________________________________________
Gcc-cfarm-users mailing list
Gcc-cfarm-users@gna.org
https://mail.gna.org/listinfo/gcc-cfarm-users

Reply via email to