I'm attempting to update the glibc on my SLES 2.4.7 kernel in preparation
for upgrading
the kernel to 2.4.17. Prior to this I have updated the following:
binutils to 2.12.1
gcc to 3.1 w/DW patches
Here is what I've done:
tar xzf glibc-2.2.5-s390-may2002.tar.gz
tar xzf glibc-2.2.5.tar.gz
ln -s glibc-2.2.5 glibc
cd glibc
patch -p1 < ../glibc-2.2.5-s390-may2002.diff
tar xzf ../glibc-linuxthreads-2.2.5.tar.gz -C .
./configure --enable-add-ons --prefix=/usr
make
make install
Below is what is displayed at the end of the make install command.
/usr/bin/install -c -m 644 sysdeps/../gnu/lib-names.h
/usr/include/gnu/lib-names.h
sysdeps/../elf/sln sysdeps/../elf/symlink.list
rm -f sysdeps/../elf/symlink.list
test ! -x sysdeps/../elf/ldconfig || LC_ALL=C LANGUAGE=C \
sysdeps/../elf/ldconfig \
/lib /usr/lib
CC="gcc" /usr/bin/perl scripts/test-installation.pl sysdeps/../
/usr/lib/gcc-lib/s390-ibm-linux/3.1/../../../../s390-ibm-linux/bin/ld:
unrecognized option '--library=m'
/usr/lib/gcc-lib/s390-ibm-linux/3.1/../../../../s390-ibm-linux/bin/ld: use
the --help option for usage information
collect2: ld returned 1 exit status
Execution of gcc failed!
The script has found some problems with your installation!
Please read the FAQ and the README file and check the following:
- Did you change the gcc specs file (necessary after upgrading from
Linux libc5)?
- Are there any symbolic links of the form libXXX.so to old libraries?
Links like libm.so -> libm.so.5 (where libm.so.5 is an old library) are
wrong,
libm.so should point to the newly installed glibc file - and there should
be
only one such link (check e.g. /lib and /usr/lib)
You should restart this script from your build directory after you've
fixed all problems!
Btw. the script doesn't work if you're installing GNU libc not as your
primary library!
make: *** [install] Error 1
Any help is appreciated !!!
Josh Konkol, CNE MCSE
Senior Network Analyst
GuideOne Insurance
Mail Stop AB-1
515-267-2427
[EMAIL PROTECTED]
.~.
/V\
/( )\
^^-^^