[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Unable to complete upgrade to libc6 development



Hi all:

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
errors:
 /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
there
were two warnings:
 ld: warning: libm.so.6, needed by /usr/lib/libg++.so, may conflict with
libm.so.5
 ld: warning: libc.so.6, needed by /usr/lib/libm.so.6, may conflict with
libc.so.5		
In addition, the output of ldd looks strange to me:
	libg++.so.2.7.2=>/usr/lib/libg++.so.2.7.2 (0x4000c000)
	libstdc++so.2.7.2=>/usr/lib/libstdc++.so.2.7.2 (0x40044000)
	libm.so.5=>/usr/lib/libm.so.5 (0x40081000)
	libc.so.5=>/usr/lib/libc.so.5 (0x4008a000)
	libm.so.6=>/usr/lib/libm.so.6 (0x40148000)
	libc.so.6=>/usr/lib/libc.so.6 (0x40161000)
	/lib/ld-linux.so.2=>/lib/ld-linux.so.2 (0x40000000)
(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
tell me
what is wrong and what I have to do to fix it?

TIA
		Sherm Ostrowsky


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: