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

Re: Trouble upgrading to Debian 2.0



servis@purdue.edu writes:

> *-Russell Senior (29 Jul)
> | 
> | I am having some trouble upgrading to Debian 2.0.  I have sucked down
> | hamm, ran autoup.sh and then dselect repeatedly (dselect seems to be
> | happy now), but gcc is not working.  Trying to compile a simple hello.c
> | test I get the following during the link stage:
> | 
> |    /usr/lib/crt1.o(.text+0xe): undefined reference to `__libc_init_first'
> |    /usr/lib/crt1.o(.text+0x18): undefined reference to `_environ'
> |    
> | I have tried reinstalling the gcc package, the libc6 packages
> | repeatedly, but I am confused over the source and/or solution to this
> | problem. 
> | 
> 
> Make sure you don't have any generic links in /lib like
> 
> /lib/libc.so -> /lib/libc.so.5
> /lib/libm.so -> /lib/libm.so.5
> /lib/libncurses.so -> /lib/libncurses.so.3
> etc.
> 
> where the link has no version number on it.

Bingo.  Thanks very much for responding.  I stumbled onto the same
solution independently after I'd posted and am now making progress
again.  Thanks again!

-- 
Russell Senior
seniorr@teleport.com


--  
Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null


Reply to: