Unable to complete upgrade to libc6 development
I recently went through the process of upgrading from libc5 to libc6.
After testing the resulting system for a couple days and finding it
apparently ok, I went on to upgrade the gcc, g++, and g77 compilers and
their associated libraries. At least, I thought I did. Now I'm not
sure what state it is in....
When I use gcc to try to compile 'hello.c', I get the following two
/usr/lib/crtl.o(.text+0xe): undefined reference to `__libc_init_first'
/usr/lib/crtl.o(.text+0x18): undefined reference to `_environ'
and the compile fails.
When I use g++ to try to compile 'hello.cpp', the compile succeeded, but
were two warnings:
ld: warning: libm.so.6, needed by /usr/lib/libg++.so, may conflict with
ld: warning: libc.so.6, needed by /usr/lib/libm.so.6, may conflict with
In addition, the output of ldd looks strange to me:
(why is it linking with both libc5 and libc6 libraries?)
I haven't even *tried* to compile 'hello.f' with g77!
Clearly, this upgrade does not seem to be working correctly. Can anyone
what is wrong and what I have to do to fix it?
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to firstname.lastname@example.org .