This is the mail archive of the
glibc-linux@ricardo.ecn.wfu.edu
mailing list for the glibc project.
Re: Error 127 in install of glibc 2.2.3
- To: glibc-linux at ricardo dot ecn dot wfu dot edu
- Subject: Re: Error 127 in install of glibc 2.2.3
- From: Minko Markov <mmarkov at home dot com>
- Date: Tue, 31 Jul 2001 16:57:44 -0700
- Organization: The Home of Minko
- References: <000401c11a06$9e99f3a0$0300a8c0@laptop>
- Reply-To: glibc-linux at ricardo dot ecn dot wfu dot edu
> make[2]: Entering directory '/usr/glibc-2.2.3/elf'
> /usr/bin/install -c /usr/glibc-objdir/elf/ld.so /lib/ld-2.2.3.so.new
> mv -f /lib/ld-2.2.3.so.new /lib/ld-2.2.3.so
> /usr/bin/install -c /usr/glibc-objdir/libc.so /lib/libc-2.2.3.so.new
> mv -f /lib/libc-2.2.3.so.new /lib/libc-2.2.3.so
I saved the output of my "make install", and I have analogous lines
there (except for the names for the source/build dirs).
> rm -f /lib/ld-linux.so.2
ooops, something wrong. I have
echo ld-2.2.3.so /lib/ld-linux.so.2 >> /usr/local/src/glibc/glibc-build/elf/symlink.list
instead of rm -f ... here.
> ln -s ld-2.2.3.so /lib/ld-linux.so.2
> make[2]: ln: Command not found
Sure, since ln is dynamically linked and needs /lib/ld-linux.so.2
> make[2]: *** [/lib/ld-linux.so.2] Error 127
> make[2]: Leaving directory '/usr/glibc-2.2.3/elf'
>
> rm? It does an 'rm' on one of the existing library files? Why?
It is a symlink, which before pointed to /lib/ld-2.1.1.so .
It had to be changed to /lib/ld-2.2.3.so I am not sure
how my make install did it. As you see above, it stored
the names of all the symlinks to be taken care of in this
symlink.list file. At the very end, make install did
/usr/local/src/glibc/glibc-build/elf/sln
/usr/local/src/glibc/glibc-build/elf/symlink.list
I removed the build directory afterwards, so I have no idea
what elf/sln was like. I suspect that it was a script that
did "ln -s -f -n " on all the files to be re-symlinked.
This is what I did for the compilation of glibc
made sure the kernel headers are OK with make mrproper; make xconfig; make dep in the
kernel tree
patch the source of glibc-2.2.3 with a patch by A. Jaeger
unset LD_LIBRARY_PATH
in the build dir, ../glibc-2.2.3/configure --prefix=/usr --enable-add-ons
--enable-kernel=2.2.18
make
make check
make info; make dvi; make pdf
telinit 1
/usr/bin/env LANGUAGE=C LC_ALL=C make install > MAKE.INSTALL.2.2.3 2>& 1
reboot
Good luck,
Minko