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

Re: Unable to complete upgrade to libc6 development

On Wed, 05 Nov 1997 17:40:32 PST "Howard S. Ostrowsky" (shermo@sb.grci.com) wrote:

> 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.

Do you have leftover libc5 -dev packages ?
When upgrading libc5->libc6 you're supposed to remove all -dev packages before installing the new ones.

> 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)

I'd add the locations of libc.so are very unusual too (should be /lib).


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: