This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
glibc 2.1 upgrade problem
- To: libc-hacker@cygnus.com
- Subject: glibc 2.1 upgrade problem
- From: Andreas Jaeger <aj@arthur.rhein-neckar.de>
- Date: Tue, 28 Jul 1998 16:47:55 +0200 (CEST)
I tried to upgrade my system [1]from glibc 2.1 980621 to the current
version and got the following failure:
make[2]: Leaving directory `/usr/glibc/src/libc/elf'
/bin/install -c -m 644 /usr/glibc/src/build-real/libc.a /usr/lib/libc.a
: /usr/lib/libc.a
/bin/install -c -m 644 /usr/glibc/src/build-real/libc_p.a /usr/lib/libc_p.a
: /usr/lib/libc_p.a
/bin/install -c -m 644 /usr/glibc/src/build-real/libc_nonshared.a /usr/lib/libc_nonshared.a
: /usr/lib/libc_nonshared.a
make -C elf ldso_install
make[2]: Entering directory `/usr/glibc/src/libc/elf'
/bin/install -c /usr/glibc/src/build-real/elf/ld.so /lib/ld-2.0.94.so.new
mv -f /lib/ld-2.0.94.so.new /lib/ld-2.0.94.so
rm -f /lib/ld-linux.so.2.new
rm: /lib/ld-linux.so.2: no version information available (required by /lib/libc.so.6)
rm: /lib/ld-linux.so.2: no version information available (required by /lib/libc.so.6)
rm: error in loading shared libraries: /lib/libc.so.6: symbol _dl_sysdep_start, version GLIBC_2.0 not defined in file ld-linux.so.2 with link time reference (no version symbols)
make[2]: *** [/lib/ld-linux.so.2] Error 127
make[2]: Leaving directory `/usr/glibc/src/libc/elf'
make[1]: *** [elf/ldso_install] Error 2
make[1]: Leaving directory `/usr/glibc/src/libc'
make: *** [install] Error 2
Naturally, my system was unusable at this moment. With the help of
LD_LIBRARY_PATH and a backup copy I got a working system again.
Shouldn't we add the sln from glibc 2.0 to glibc 2.1 also? I do fear
that other people trying to upgrade to glibc 2.0.95 will have the same
problems.
Another problem appeared when I called `make install install_root=/tmp/install-libc':
make 3.76.93 outputs:
make[2]: Entering directory '/usr/glibc/src/libc/localedata'
make[2]: *** No rule to make target '/tmp/install-libc/usr/share/i18n/charmaps', needed by 'install-others-nosubdir'. Stop
make[2]: Leaving directory '/usr/glibc/src/libc/localedata'
make[1]: *** [localedata/subdir_install] Error 2
After creating /tmp/install-libc/usr/share/i18n/charmaps and also
...i18n/locales and ...i18n/repertoiremaps, `make
localedadata/subdir_install' succeeded - but nothing was installed.
It might be that everything was up-todate.
I finally managed to install everything and it seems;-) to work now.
Andreas
Footnotes:
[1] i486 running Linux 2.0.35, glibc 2.1 compiled with Linux 2.1.111
headers and options: --prefix=/usr --enable-add-ons --without-cvs
Compiler is a current egcs (2.91.52 19980727), make 3.76.93.
--
Andreas Jaeger aj@arthur.rhein-neckar.de jaeger@informatik.uni-kl.de
for pgp-key finger ajaeger@alma.student.uni-kl.de