Steven, On many/most cfarm machines there will be a stable build of gmp and required other libs under /opt/cfarm It appears that gcc13 is no exception.
I suspect, but have not verified, that adding the three directories /opt/cfarm/{gmp,mpc,mpfr}-latest/lib to your LD_LIBRARY_PATH may resolve your problem. -Paul On Fri, Jan 20, 2017 at 12:52 PM, Steven R Loomis <srloo...@us.ibm.com> wrote: > Hello, everyone > on gcc13 I am having compile failures: > /opt/cfarm/gcc-latest/bin/gcc --version > gcc (GCC) 6.3.0 > Copyright (C) 2016 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > But when autoconf tries to run it: > > 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? > > Thanks, > Steven > > > > > > > > _______________________________________________ > Gcc-cfarm-users mailing list > Gcc-cfarm-users@gna.org > https://mail.gna.org/listinfo/gcc-cfarm-users > > -- Paul H. Hargrove phhargr...@lbl.gov Computer Languages & Systems Software (CLaSS) Group Computer Science Department Tel: +1-510-495-2352 Lawrence Berkeley National Laboratory Fax: +1-510-486-6900
_______________________________________________ Gcc-cfarm-users mailing list Gcc-cfarm-users@gna.org https://mail.gna.org/listinfo/gcc-cfarm-users