This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/18496] New: Build fails with "libgmp.so.6 not found" error
- From: "jim at dishaw dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Nov 2004 06:26:29 -0000
- Subject: [Bug libfortran/18496] New: Build fails with "libgmp.so.6 not found" error
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I have libgmp and libmpfr installed with an atypical prefix (not /usr/local or
/usr) on the build machine because I do not have adminstrative rights. I
invoked configure as
../gcc/configure --with-mpfr=/sys/sdf/sci --with-gmp=/sys/sdf/sci
--prefix=/sys/sdf/sci
The build progresses normally for a great while and then dies with the error
/sys/sdf/src/sci/gcc-cvs/gcc-build/gcc/xgcc
-B/sys/sdf/src/sci/gcc-cvs/gcc-build/gcc/
-B/sys/sdf/sci/alpha-unknown-netbsd1.6.2./bin/
-B/sys/sdf/sci/alpha-unknown-netbsd1.6.2./lib/ -isystem
/sys/sdf/sci/alpha-unknown-netbsd1.6.2./include -isystem
/sys/sdf/sci/alpha-unknown-netbsd1.6.2./sys-include -DHAVE_CONFIG_H -I.
-I../../../gcc/libgfortran -I. -I../../../gcc/libgfortran/io -O2 -g -O2 -mieee
-std=gnu99 -O2 -g -O2 -mieee -c
../../../gcc/libgfortran/intrinsics/reshape_packed.c -o reshape_packed.o
>/dev/null 2>&1
Shared object "libgmp.so.6" not found
make[2]: *** [selected_int_kind.lo] Error 1
make[1]: *** [all] Error 2
make: *** [all-target-libgfortran] Error 2
/bin/sh ./libtool --mode=compile /sys/sdf/src/sci/gcc-cvs/gcc-build/gcc/gfortran
-B/sys/sdf/src/sci/gcc-cvs/gcc-build/gcc/
-B/sys/sdf/sci/alpha-unknown-netbsd1.6.2./bin/
-B/sys/sdf/sci/alpha-unknown-netbsd1.6.2./lib/ -isystem
/sys/sdf/sci/alpha-unknown-netbsd1.6.2./include -isystem
/sys/sdf/sci/alpha-unknown-netbsd1.6.2./sys-include -Wall -fno-repack-arrays
-fno-underscoring -c -o selected_int_kind.lo `test -f
'intrinsics/selected_int_kind.f90' || echo
'../../../gcc/libgfortran/'`intrinsics/selected_int_kind.f90
/sys/sdf/src/sci/gcc-cvs/gcc-build/gcc/gfortran
-B/sys/sdf/src/sci/gcc-cvs/gcc-build/gcc/
-B/sys/sdf/sci/alpha-unknown-netbsd1.6.2./bin/
-B/sys/sdf/sci/alpha-unknown-netbsd1.6.2./lib/ -isystem
/sys/sdf/sci/alpha-unknown-netbsd1.6.2./include -isystem
/sys/sdf/sci/alpha-unknown-netbsd1.6.2./sys-include -Wall -fno-repack-arrays
-fno-underscoring -c ../../../gcc/libgfortran/intrinsics/selected_int_kind.f90
-fPIC -DPIC -o .libs/selected_int_kind.o
make[2]: Leaving directory
`/sys/sdf/src/sci/gcc-cvs/gcc-build/alpha-unknown-netbsd1.6.2./libgfortran'
make[1]: Leaving directory
`/sys/sdf/src/sci/gcc-cvs/gcc-build/alpha-unknown-netbsd1.6.2./libgfortran'
Examining the config.log in libgfortran, I found the following error
configure:4504: /sys/sdf/src/sci/gcc-cvs/gcc-build/gcc/gfortran -B/sys/sdf/src/
sci/gcc-cvs/gcc-build/gcc/ -B/sys/sdf/sci/alpha-unknown-netbsd1.6.2./bin/ -B/sys
/sdf/sci/alpha-unknown-netbsd1.6.2./lib/ -isystem /sys/sdf/sci/alpha-unknown-net
bsd1.6.2./include -isystem /sys/sdf/sci/alpha-unknown-netbsd1.6.2./sys-include -
c conftest.F >&5
Shared object "libgmp.so.6" not found
configure:4510: $? = 1
configure: failed program was:
| program main
| #ifndef __GNUC__
| choke me
| #endif
|
| end
configure:4536: result: no
--
Summary: Build fails with "libgmp.so.6 not found" error
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libfortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jim at dishaw dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: alpha-unknown-netbsd1.6.2
GCC host triplet: alpha-unknown-netbsd1.6.2
GCC target triplet: alpha-unknown-netbsd1.6.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18496