This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/875] New: make install error on glibc-2.3.5
- From: "vivekk at cybage dot com" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 26 Apr 2005 12:13:34 -0000
- Subject: [Bug libc/875] New: make install error on glibc-2.3.5
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
Hello,
I am getting the following error when I do 'make install' on glibc-2.3.5.
/usr/local/MPInsight/lib/sys/bin/ld: cannot
find /usr/local/MPInsight/lib/sys/lib/libc.so.6
collect2: ld returned 1 exit status
make[2]: *** [/usr/local/MPInsight/glibc-2.3.5-build/math/libm.so] Error 1
make[2]: Leaving directory `/usr/local/MPInsight/glibc-2.3.5/math'
make[1]: *** [math/subdir_install] Error 2
make[1]: Leaving directory `/usr/local/MPInsight/glibc-2.3.5'
make: *** [install] Error 2
Here are my machine configurations:
1. RedHat version: RHES 7.2
2. Kernel: 2.4.9-34
3. gcc : 2.96 (default gcc. We compile gcc-3.2 in a different location)
Here are my compilation steps:
1. binutils-2.15.tar.gz (successful)
export CC=/usr/local/gcc3.2/bin/gcc
export CPP=/usr/local/gcc3.2/bin/cpp
export CXX=/usr/local/gcc3.2/bin/g++
export CFLAGS='-I/usr/local/gcc3.2/include -L/usr/local/gcc3.2/lib'
export CXXFLAGS='-I/usr/local/gcc3.2/include -L/usr/local/gcc3.2/lib'
export LDFLAGS=-L/usr/local/gcc3.2/lib
./configure --prefix=/usr/local/MPInsight/lib/sys
make
make install
2. rebuild gcc-3.2 (successful)
export CC=/usr/local/gcc3.2/bin/gcc
export CPP=/usr/local/gcc3.2/bin/cpp
export CXX=/usr/local/gcc3.2/bin/g++
export CFLAGS='-I/usr/local/gcc3.2/include -L/usr/local/gcc3.2/lib'
export CXXFLAGS='-I/usr/local/gcc3.2/include -L/usr/local/gcc3.2/lib'
export LDFLAGS=-L/usr/local/gcc3.2/lib
./configure --prefix=/usr/local/MPInsight/lib/sys --enable-shared --enable-
threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --
host=i386-redhat-linux
make bootstrap
make install
3. build glibc-2.3.5
(Point the the above compiled gcc-3.2)
export CC=/usr/local/MPInsight/lib/sys/bin/gcc
export CPP=/usr/local/MPInsight/lib/sys/bin/cpp
export CXX=/usr/local/MPInsight/lib/sys/bin/g++
export LDFLAGS=-L/usr/local/MPInsight/lib/sys/lib
export CPPFLAGS=-I/usr/local/MPInsight/lib/sys/include
export CXXFLAGS=-I/usr/local/MPInsight/lib/sys/include
tar -xzf glibc-2.3.5.tar.gz
cd glibc-2.3.5; tar -xzf ../glibc-linuxthreads-2.3.5.tar.gz; cd ..
mkdir glibc-2.3.5-build;
cd glibc-2.3.5-build;
../glibc-2.3.5/configure --with-binutils=/usr/local/MPInsight/lib/sys/bin/ --
enable-add-ons=linuxthreads --prefix=/usr/local/MPInsight/lib/sys/
[./configure is successful]
make [successful]
make install [erroring out]
Appreciate your help in this matter.
--
Summary: make install error on glibc-2.3.5
Product: glibc
Version: 2.3.5
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: gotom at debian dot or dot jp
ReportedBy: vivekk at cybage dot com
CC: glibc-bugs at sources dot redhat dot com
http://sources.redhat.com/bugzilla/show_bug.cgi?id=875
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.